mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-14 08:34: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,
|
||||
Backbone: true,
|
||||
'$': true,
|
||||
Raphael: true,
|
||||
require: true,
|
||||
define: true,
|
||||
requirejs: true,
|
||||
console: true,
|
||||
describe: true,
|
||||
expect: true,
|
||||
it: true
|
||||
it: true,
|
||||
exports: true
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -58,6 +59,6 @@ module.exports = function(grunt) {
|
|||
//grunt.loadNpmTasks('grunt-jasmine-node');
|
||||
|
||||
// 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() {
|
||||
required = ['tail', 'head'];
|
||||
var required = ['tail', 'head'];
|
||||
_.each(required, function(key) {
|
||||
if (!this.get(key)) {
|
||||
throw new Error(key + ' is required!');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue