@webqit/oohtml 2.1.13 → 2.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bindings-api.js +1 -1
- package/dist/bindings-api.js.map +2 -2
- package/dist/html-imports.js +1 -1
- package/dist/html-imports.js.map +2 -2
- package/dist/html-modules.js +1 -1
- package/dist/html-modules.js.map +2 -2
- package/dist/main.js +3 -3
- package/dist/main.js.map +2 -2
- package/dist/namespace-api.js +1 -1
- package/dist/namespace-api.js.map +2 -2
- package/dist/scoped-js.js +1 -1
- package/dist/scoped-js.js.map +2 -2
- package/package.json +2 -2
- package/src/bindings-api/index.js +2 -2
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"wicg-proposal"
|
|
15
15
|
],
|
|
16
16
|
"homepage": "https://webqit.io/tooling/oohtml",
|
|
17
|
-
"version": "2.1.
|
|
17
|
+
"version": "2.1.14",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@webqit/dom": "^2.0.5",
|
|
42
|
-
"@webqit/observer": "^2.0.
|
|
42
|
+
"@webqit/observer": "^2.0.6",
|
|
43
43
|
"@webqit/subscript": "^2.1.39",
|
|
44
44
|
"@webqit/util": "^0.8.10"
|
|
45
45
|
},
|
|
@@ -72,9 +72,9 @@ function exposeAPIs( config ) {
|
|
|
72
72
|
*
|
|
73
73
|
* @return Void
|
|
74
74
|
*/
|
|
75
|
-
function applyBindings( target, bindings, { merge, namespace } = {} ) {
|
|
75
|
+
function applyBindings( target, bindings, { merge, diff, namespace } = {} ) {
|
|
76
76
|
const bindingsObj = getBindingsObject( target );
|
|
77
|
-
const $params = { namespace };
|
|
77
|
+
const $params = { diff, namespace };
|
|
78
78
|
if ( merge ) return Observer.set( bindingsObj, bindings, $params );;
|
|
79
79
|
const exitingKeys = Observer.ownKeys( bindingsObj, $params ).filter( key => !( key in bindings ) );
|
|
80
80
|
return Observer.batch( bindingsObj, () => {
|