Skip to content

Commit

Permalink
v1.4.1 with knockout 3.5.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
bago committed Mar 29, 2019
1 parent 00081ad commit d8c0c7d
Show file tree
Hide file tree
Showing 5 changed files with 3,589 additions and 960 deletions.
6 changes: 3 additions & 3 deletions dist/ko-reactor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! ko-reactor v1.4.0
/*! ko-reactor v1.4.1
* The MIT License (MIT)
* Copyright (c) 2018 Ziad Jeeroburkhan */
// Deep observer plugin for Knockout http://knockoutjs.com/
Expand Down Expand Up @@ -214,8 +214,8 @@ ko['watch'] = function (target, options, evaluatorCallback, context) {
case "3.4.0": subscriptionsField = 'K'; break;
case "3.4.1": subscriptionsField = 'K'; break;
case "3.4.2": subscriptionsField = 'F'; break;
case "3.5.0-beta": subscriptionsField = 'S'; break;
default: throw "Unsupported Knockout version. Only v3.0.0 to v3.5.0-beta are supported when minified. Current version is " + ko.version;
case "3.5.0": subscriptionsField = 'S'; break;
default: throw "Unsupported Knockout version. Only v3.0.0 to v3.5.0 finals are supported when minified. Current version is " + ko.version;
}

function disposeWatcher(child) {
Expand Down
4 changes: 2 additions & 2 deletions dist/ko-reactor.min.js

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

Loading

0 comments on commit d8c0c7d

Please sign in to comment.