IntelXDK generates errors in plain Javascript code

I just started developing mobile apps for cordova / phonegap platform and read somewhere on top of stackoverflow to use intelXDK as IDE since it has a built-in emulator developed in Ripple. I really don't know what's going wrong and it really discourages me.

intelXDK generates an error in plain Javascript even though I have restarted the IDE many times. what am i missing?

If you know of any better IDE that has an emulator, I'd really appreciate it!

intelXDK generating errors on simple Javascript code

+3


source to share


1 answer


What you see are jshint errors generated by linter in the parenthesis editor, built into the XDK.

You can customize the jshint errors that you receive either with the jshint resource file or by specifying the jshint directives directly in your code (at the top of the page). Here's what I usually start by converting the list to a manageable set of errors:



/*jslint browser:true, devel:true, white:true, vars:true */
/*global $:false, intel:false */

      

See File-> Extension Manager ... for additional extensions that can be added. And have a look at http://www.jshint.com/docs/ and http://jslinterrors.com/ for any documentation regarding these directives.

+4


source







All Articles