Is it possible to set two files in "dependency" in edittime ?
Not yet...! What kind of files do you need to add as dependencies? If at all possible you should dynamically load javascript files for example, which means you don't need to add them as a dependency.
A CSS sheet. I think I will do that.
thx
Ashley
Just need again this possibility. Did you add it to your todo list ?
You can always dynamically load anything you put as a dependency, have you tried doing that instead? It probably works better anyway since it prevents lots of plugins adding loads of dependencies and bloating the export.
Ashley Unless I am mistaken, when you load sth dynamically, it has to be a file which is either online or local, but if it's a local file, there's no way to specify the path of the plugin folder (where the file should be), isn't it ?
Develop games in your browser. Powerful, performant & highly capable.
Hmm, true I guess... I'll see if I can add multiple dependencies then.
Ashley It will be great.
septeven
If you only need to put one (dependent) file, try to add
"dependency": file_name
in function "GetPluginSettings" in edittime.js
See facebook plugin for more detail.
rexrainbow thanks but I already did this for my iScroll plugin.
I know you've got a bunch of work, but when do you think it can be done ?