Skip to content

Commit

Permalink
Support KO 3.4.1 minified property.
Browse files Browse the repository at this point in the history
  • Loading branch information
bago committed Nov 8, 2016
1 parent 5dbe621 commit 49ecc7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/knockout.reactor.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ ko['watch'] = function (target, options, evaluatorCallback, context) {
case "3.2.0": subscriptionsField = 'M'; break;
case "3.3.0": subscriptionsField = 'G'; break;
case "3.4.0": subscriptionsField = 'K'; break;
default: throw "Unsupported Knockout version. Only v3.0.0 to v3.4.0 are supported when minified. Current version is " + ko.version;
case "3.4.1": subscriptionsField = 'K'; break;
default: throw "Unsupported Knockout version. Only v3.0.0 to v3.4.1 are supported when minified. Current version is " + ko.version;
}

function disposeWatcher(child) {
Expand Down

0 comments on commit 49ecc7a

Please sign in to comment.