Skip to content

Commit

Permalink
knockout#290 - make sure bindingContext.extend works in minified code
Browse files Browse the repository at this point in the history
  • Loading branch information
mbest committed Mar 5, 2012
1 parent e08ed36 commit 1504539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/binding/bindingAttributeSyntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
return new ko.bindingContext(dataItem, this);
};
ko.bindingContext.prototype['extend'] = function(properties) {
var clone = new ko.bindingContext(this.$data, this);
var clone = new ko.bindingContext(this['$data'], this);
return ko.utils.extend(clone, properties);
};

Expand Down

0 comments on commit 1504539

Please sign in to comment.