Skip to content
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

ExtJS 5 problem #36

Open
shinder opened this issue Aug 6, 2014 · 3 comments
Open

ExtJS 5 problem #36

shinder opened this issue Aug 6, 2014 · 3 comments

Comments

@shinder
Copy link

shinder commented Aug 6, 2014

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

@manniche
Copy link

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

@shinder
Copy link
Author

shinder commented Aug 28, 2014

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
Copy link
Author

shinder commented Oct 16, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants