Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Mustache template with the one provided by the submodule #24

Conversation

lukareihl
Copy link
Contributor

No description provided.

lukareihl and others added 2 commits November 10, 2023 12:47
…e Mustache template with the one provided by the submodule'

Replace Mustache template with the one provided by the submodule
Copy link
Contributor

@justadreamer justadreamer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure the device-detection-php/examples/cloud/gettingStartedWeb.php example works with the new template. Currently the JS spits out these errors, apparently for some values are not being passed by the JavaScriptBuilderElement:

Uncaught SyntaxError: Unexpected token ';'
(index):234 Uncaught ReferenceError: fod is not defined
    at window.onload ((index):234:9)

@justadreamer
Copy link
Contributor

The above is resolved with the latest commit, the only thing we need to ensure is that composer is installing this javascript-template dependency fine. Either using some hooks or otherwise let's convert it into a composer package of its own

@justadreamer
Copy link
Contributor

updated changes are in #26

@lukareihl lukareihl deleted the javascript-template-submodule branch November 17, 2023 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants