Skip to content

Commit

Permalink
de-linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick Bailey committed Mar 23, 2013
1 parent bcfc524 commit 316c562
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"_": true,
"Marionette": true,
"$": true,
"slice": true
"slice": true,
"throwError": true
}
}
}
4 changes: 2 additions & 2 deletions src/marionette.helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
var protoSlice = Array.prototype.slice;
function slice(args) {
return protoSlice.call(args);
};
}

function throwError(message, name) {
var error = new Error(message);
error.name = name || 'Error';
throw error;
};
}

// Marionette.extend
// -----------------
Expand Down

0 comments on commit 316c562

Please sign in to comment.