Skip to content

Commit

Permalink
v1.4.0-beta3 release
Browse files Browse the repository at this point in the history
Support for knockout 3.5.0-beta
  • Loading branch information
bago committed Feb 9, 2018
1 parent cc10689 commit 78f887f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions dist/ko-reactor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! ko-reactor v1.4.0-beta2
/*! ko-reactor v1.4.0-beta3
* The MIT License (MIT)
* Copyright (c) 2017 Ziad Jeeroburkhan */
// Deep observer plugin for Knockout http://knockoutjs.com/
Expand Down Expand Up @@ -215,7 +215,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;
default: throw "Unsupported Knockout version. Only v3.0.0 to v3.4.2 are supported when minified. Current version is " + ko.version;
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;
}

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.

2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"contributors": [
"Stefano Bagnara"
],
"version": "1.4.0-beta2",
"version": "1.4.0-beta3",
"repository": {
"type": "git",
"url": "https://github.com/ZiadJ/knockoutjs-reactor.git"
Expand Down

0 comments on commit 78f887f

Please sign in to comment.