Skip to content

Commit

Permalink
Hint to Google Closure Compiler not to shorten the name of the 'bind'…
Browse files Browse the repository at this point in the history
… function
  • Loading branch information
SteveSanderson committed Feb 20, 2011
1 parent 46e5bb5 commit 3ae2a70
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/output/knockout-latest.debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ ko.subscription = function (callback, disposeCallback) {
this.dispose = function () {
this.isDisposed = true;
disposeCallback();
}.bind(this);
}['bind'](this);

ko.exportProperty(this, 'dispose', this.dispose);
};
Expand Down
6 changes: 3 additions & 3 deletions build/output/knockout-latest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/subscribables/subscribable.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ko.subscription = function (callback, disposeCallback) {
this.dispose = function () {
this.isDisposed = true;
disposeCallback();
}.bind(this);
}['bind'](this);

ko.exportProperty(this, 'dispose', this.dispose);
};
Expand Down

0 comments on commit 3ae2a70

Please sign in to comment.