bdkjones / CodeKit2

CodeKit 2 Beta
98 stars 4 forks source link

Error flagged with call to current FastClick #584

Closed otheroom closed 8 years ago

otheroom commented 8 years ago

I use FastClick in several CodeKit projects and just updated the prepend from FastClick 1.0.3 to 1.0.6

The resulting concatenated and minified code appears to be working but CodeKit is giving me this lint error in my mainline code where I invoke FastClick:

FastClick.attach(document.body); 'FastClick' is not defined. — column 5

FastClick is now has it's code wrapped in an anonymous function:

;(function () {

I suspect that's what's tripping up the syntax check and wondering why that's happening and what I can do to eliminate the issue.

bdkjones commented 8 years ago

Add FastClick to the globals list. Project Settings > Syntax Checkers

otheroom commented 8 years ago

Thank you sir.