Permalink
Browse files

Remove unused declarations in `add`, noglobals for phantomjs

  • Loading branch information...
1 parent 6868457 commit e16c762ec50e061b0fd940fb9d90bfe24f51f763 @caseywebdev caseywebdev committed Dec 21, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 backbone.js
  2. +1 −1 package.json
View
@@ -589,7 +589,7 @@
add: function(models, options) {
models = _.isArray(models) ? models.slice() : [models];
options || (options = {});
- var i, l, args, length, model, attrs, existing, doSort, sortAttr, at, sort, add;
+ var i, l, model, attrs, existing, sort, doSort, sortAttr, at, add;
add = [];
at = options.at;
sort = this.comparator && (at == null) && (options.sort == null || options.sort);
View
@@ -11,7 +11,7 @@
"phantomjs": "0.2.2"
},
"scripts": {
- "test": "phantomjs test/vendor/runner.js test/index.html"
+ "test": "phantomjs test/vendor/runner.js test/index.html?noglobals=true"
},
"main" : "backbone.js",
"version" : "0.9.9"

0 comments on commit e16c762

Please sign in to comment.