Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Update to JSHint 0.10+
Browse files Browse the repository at this point in the history
Signed-off-by: Byron Ruth <b@devel.io>
  • Loading branch information
bruth committed Apr 15, 2014
1 parent d97df02 commit d85fc2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -38,7 +38,7 @@
"grunt-contrib-coffee": "~0.10.1",
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-jasmine": "~0.5.2",
"grunt-contrib-jshint": "~0.9.2",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-nodeunit": "~0.3.0",
"grunt-contrib-requirejs": "~0.4.1",
"grunt-contrib-sass": "~0.7.3",
Expand All @@ -51,4 +51,4 @@
"grunt-amdcheck": "^0.2.2",
"jshint-stylish": "^0.1.5"
}
}
}
8 changes: 4 additions & 4 deletions src/js/cilantro/ui/concept/columns/layout.js
Expand Up @@ -146,15 +146,15 @@ define([
throw new Error('concepts collection required');
}

this.listenTo(this.data.concepts, 'columns:detail', this.handleDetailsPopover);
this.listenTo(this.data.concepts, 'columns:detail',
this.handleDetailsPopover);

// Local collection of selected concepts based on the bound `view`
this.data.selected = new Backbone.Collection();

// Listen the columns events on the models
this.data.selected.listenTo(this.data.concepts, 'columns:add', function(model) {
this.add(model);
});
this.data.selected.listenTo(this.data.concepts, 'columns:add',
function(model) { this.add(model); });

this.data.selected.on('columns:remove', function(model) {
this.remove(model);
Expand Down

0 comments on commit d85fc2c

Please sign in to comment.