jquery / contribute.jquery.org

Developer documentation common to jQuery projects
https://contribute.jquery.org
Other
25 stars 76 forks source link

JS Style Guide: Fix full file closures #106

Closed scottgonzalez closed 9 years ago

jzaefferer commented 9 years ago

:+1:

Could use the opportunity to add an example for node, e.g. a Gruntfile.js, something like this:

var path = require( "path" );

module.exports = function( grunt ) {

grunt.registerTask( "custom task", function() {
    // task impl
} );

};
scottgonzalez commented 9 years ago

Added.

arthurvr commented 9 years ago

Looking good :+1:

jzaefferer commented 9 years ago

Good to land.