- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am testing the intel XDK IDE and created a very simple test app with the HTML5 + Cordova Ionic Framework template,
I am getting " 'angular' is not defined. (W117) " error Also there is an issue with activate_page("#uib_page_1");
I attached a screen shot with the errors, thanks in advance for your help.
Best Regards,
Kamran
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you can confirm you have angular and activate_page then this is just JS hint problem.
At the beginning of file you may add:
/* global angular */
etc to tell JSHint you already have this variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you Jakub,
I have added the /* global angular */, I don't see the JSHint error about angular..,
I still have the error about 'activate_page("#uib_page_1");' as far as I know it should work like $state.go(..)
Do you know if the activate_page("#uib_page_1") was deprecated, I saw a tutorial on Intel XDK early access and it was used in order to open new page on the screen..
Tnx
Regards,
Kamran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Just paste this on the top of your document (JS document):
/*jslint browser:true, devel:true, white:true, vars:true */ /*global $:false */ /* jshint strict: false, -W117 */
Like this:
Hope this helps.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page