mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-14 16:44:26 +02:00
starting lint
This commit is contained in:
parent
e876ad6109
commit
a1a84d9bfb
3 changed files with 1658 additions and 1657 deletions
3304
build/bundle.js
3304
build/bundle.js
File diff suppressed because it is too large
Load diff
9
grunt.js
9
grunt.js
|
@ -45,12 +45,13 @@ module.exports = function(grunt) {
|
||||||
_: true,
|
_: true,
|
||||||
Backbone: true,
|
Backbone: true,
|
||||||
'$': true,
|
'$': true,
|
||||||
|
Raphael: true,
|
||||||
require: true,
|
require: true,
|
||||||
define: true,
|
console: true,
|
||||||
requirejs: true,
|
|
||||||
describe: true,
|
describe: true,
|
||||||
expect: true,
|
expect: true,
|
||||||
it: true
|
it: true,
|
||||||
|
exports: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -58,6 +59,6 @@ module.exports = function(grunt) {
|
||||||
//grunt.loadNpmTasks('grunt-jasmine-node');
|
//grunt.loadNpmTasks('grunt-jasmine-node');
|
||||||
|
|
||||||
// Default task.
|
// Default task.
|
||||||
grunt.registerTask('default', 'lint jasmine_node');
|
grunt.registerTask('default', 'lint compliment'); //jasmine_node');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -788,7 +788,7 @@ var VisEdge = VisBase.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
validateAtInit: function() {
|
validateAtInit: function() {
|
||||||
required = ['tail', 'head'];
|
var required = ['tail', 'head'];
|
||||||
_.each(required, function(key) {
|
_.each(required, function(key) {
|
||||||
if (!this.get(key)) {
|
if (!this.get(key)) {
|
||||||
throw new Error(key + ' is required!');
|
throw new Error(key + ' is required!');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue