-
Notifications
You must be signed in to change notification settings - Fork 260
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
Allow to reference VorlonJS without automatically starting the traces (Core.Start) #43
Comments
Hello, You can already do that by including in your project the vorlon.max.js or vorlon.js file that you can get from the github project. We only add the call to Start on the fly when requesting it from the server. After referencing it on your html page, you can call VORLON.Core.Start whenever you want. That should do the trick for now and I will add a http://yourdomain/vorlon.nostart.js served by the server asap. |
Thanks. |
Done here : 72522ec I am updating the npm package also. You can now reference the client script using <script src="http://localhost:1337/vorlon.autostartdisabled.js">/<script> or <script src="http://localhost:1337/vorlon.max.autostartdisabled.js">/<script> Then you just have to call VORLON.Core.Start(...) :) |
And... done ! ;-) |
How to start the client VorlonJS only when the user want. For example, first referencing the vorlon.js file, and later execute "VORLON.Core.Start" when the user clicks on a button in this web page?
The text was updated successfully, but these errors were encountered: