Skip to content Skip to sidebar Skip to footer
Showing posts with the label Jshint

Jshint And Skipping Lines With Custom Non-js Templating Code

I am using SublimeLinter3 in SublimeText3 with the SublimeLinter-jshint linter. I have server side… Read more Jshint And Skipping Lines With Custom Non-js Templating Code

How To Solve The Jshint Error `don't Make Functions Within A Loop.` With Jquery $.grep

The following javascript code gives me the Don't make functions within a loop. error /* Get the… Read more How To Solve The Jshint Error `don't Make Functions Within A Loop.` With Jquery $.grep

Disallowtrailingcomma Does Not Work In Jscs

I am using http://jscs.info. I need to get a warning if my app has left trailing comma, example, us… Read more Disallowtrailingcomma Does Not Work In Jscs

Using This In Event Handler In Strict Javascript?

Suppose you have a routine like the following to wire up click event handlers getElements('.boa… Read more Using This In Event Handler In Strict Javascript?

How Can I Make A Grunt Task Fail If One Of Its Sub Tasks Fail?

I have a build task in grunt, which looks like this: grunt.registerTask('build', ['jshi… Read more How Can I Make A Grunt Task Fail If One Of Its Sub Tasks Fail?

Using This In Event Handler In Strict Javascript?

Suppose you have a routine like the following to wire up click event handlers getElements('.boa… Read more Using This In Event Handler In Strict Javascript?