Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix scope error

  • Loading branch information...
commit c7731250d8a7f27971c93088717193bcf935a997 1 parent 7623627
@TEugen TEugen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  data.js
View
2  data.js
@@ -604,7 +604,7 @@
// Computes the difference between the current *collection* and a given *collection*
difference: function(collection) {
- var that = this;
+ var that = this,
result = new Data.Collection.create(this.type, []);
this.each(function(value, key) {
if (!collection.get(key)) result.add(value);
Please sign in to comment.
Something went wrong with that request. Please try again.