Skip to content Skip to sidebar Skip to footer

Using Javascript Libraries In Adobe Brackets Ide?

How do you use libraries in Brackets without the javascript lint giving errors? For example I am using chart.js and the product works completely fine but Brackets gives an error th

Solution 1:

You need to supply jslint options at the top of the js file, for example:

/*global window, jQuery, require, charts */

There might also be a way to do this globally, i just haven't researched it yet (don't really see a need for it)

Post a Comment for "Using Javascript Libraries In Adobe Brackets Ide?"