Skip to content

Commit

Permalink
Merge pull request #169 from lukasoppermann/master
Browse files Browse the repository at this point in the history
enable jsrc to fail build
  • Loading branch information
Lukas Oppermann committed Aug 7, 2015
2 parents d53633e + 0c229b3 commit 187030f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ gulp.task('lint', function() {
'src/html.sortable.angular.js'
])
.pipe(jscs())
.on('error', reportError)
// .on('error', reportError)
.pipe(jshint())
.pipe(jshint.reporter('jshint-stylish'))
.pipe(jshint.reporter('fail'))
Expand Down
3 changes: 1 addition & 2 deletions src/html.sortable.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,7 @@ var sortable = function(selector, options) {
});

// Handle dragover and dragenter events on draggable items
// TODO: REMOVE placeholder?????
items.add([this, placeholder]).on('dragover.h5s dragenter.h5s', function(e) {
items.add([this]).on('dragover.h5s dragenter.h5s', function(e) {
if (!_listsConnected($sortable, $(dragging).parent())) {
return;
}
Expand Down

0 comments on commit 187030f

Please sign in to comment.