05-27-2013 08:28 AM
Trying to import using the following.
import "local:///assets/global.js" as js
It stops my app from working, what is the correct syntax to do this?
05-27-2013 08:32 AM
05-27-2013 11:05 AM - edited 05-27-2013 11:06 AM
Import it by declaring:
import "global.js" as GlobalFunctions
Then call your functions within QML signals like:
Example here: http://bbcascades.com/index.php/tutorial-list/59-j