Skip to content

Instantly share code, notes, and snippets.

View peterssonjesper's full-sized avatar

Jesper Petersson peterssonjesper

View GitHub Profile
var MyModule = function() {
this.myMethod = function() {
return "Hello world";
};
};
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: grunt.file.readJSON('package.json'),
// Task configuration.
jasmine: {
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: grunt.file.readJSON('package.json'),
// Task configuration.
jasmine: {
module.exports = function(grunt) {
grunt.initConfig({
jshint: ...
watch: ...
jasmine: ...
sass: ...
requirejs: ...
});
grunt.loadNpmTasks('grunt-contrib-jshint');
module.exports = function(grunt) {
grunt.initConfig({
jshint: ...
watch: ...
jasmine: ...
sass: ...
requirejs: ...
});
grunt.registerTask('jslint', [], function() {