Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

de-linting

  • Loading branch information...
commit 316c5624ee03c8baf59571a4f2fb0fd55117523d 1 parent bcfc524
@derickbailey derickbailey authored
Showing with 5 additions and 4 deletions.
  1. +3 −2 .jshintrc
  2. +2 −2 src/marionette.helpers.js
View
5 .jshintrc
@@ -16,6 +16,7 @@
"_": true,
"Marionette": true,
"$": true,
- "slice": true
+ "slice": true,
+ "throwError": true
}
-}
+}
View
4 src/marionette.helpers.js
@@ -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
// -----------------
Please sign in to comment.
Something went wrong with that request. Please try again.