grunt-sencha-dependencies icon indicating copy to clipboard operation
grunt-sencha-dependencies copied to clipboard

ExtJS 5 problem

Open shinder opened this issue 10 years ago • 3 comments

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

shinder avatar Aug 06 '14 07:08 shinder

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...

manniche avatar Aug 20 '14 13:08 manniche

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

shinder avatar Aug 28 '14 06:08 shinder

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.

shinder avatar Oct 16 '14 08:10 shinder