grunt-sencha-dependencies
grunt-sencha-dependencies copied to clipboard
ExtJS 5 problem
Hi there,
We use sencha-dependencies on our ExtJS 4 projects, and it works fine. However, I tried it on a simple project of ExtJS 5, the console of browser complained "undefined is not a function".
Does anyone try sencha-dependencies on ExtJS 5 projects ? Any thoughts?
Thanks
Do you have a stacktrace from the browser, or some way to tell where the exception arises from?
A wild, preliminary guess would be that the ordering of dependencies are messed up in some way. But it's hard to tell without more information to go from...
I use sencha CMD to generate a default ExtJS 5 (5.0.1) project, modify app.js and the html file. I can run index_app.html in a web server. When I use sencha_dependencies, I usually get an error. the project zip file: https://dl.dropboxusercontent.com/u/43977386/qz/ext501.zip
Thanks
In my another ExtJS 3 project testing using casperJS: The error is caused by that ExtJS mistakes phantomJS for Safari, The "Ext.isSafari" value is true. Changing the userAgent name of phantomJS can avoid the error.
I think that should be the problem.