@webqit/oohtml 4.1.13 → 4.1.15
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/context-api.js +1 -1
- package/dist/context-api.js.map +2 -2
- package/dist/data-binding.js +4 -4
- package/dist/data-binding.js.map +2 -2
- package/dist/html-imports.js +1 -1
- package/dist/html-imports.js.map +2 -2
- package/dist/main.js +11 -11
- package/dist/main.js.map +2 -2
- package/dist/main.lite.js +6 -6
- package/dist/main.lite.js.map +2 -2
- package/dist/namespaced-html.js +1 -1
- package/dist/namespaced-html.js.map +2 -2
- package/dist/scoped-css.js +3 -3
- package/dist/scoped-css.js.map +2 -2
- package/dist/scoped-js.js +1 -1
- package/dist/scoped-js.js.map +2 -2
- package/package.json +3 -3
- package/src/scoped-js/index.js +1 -1
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"wicg-proposal"
|
|
15
15
|
],
|
|
16
16
|
"homepage": "https://webqit.io/tooling/oohtml",
|
|
17
|
-
"version": "4.1.
|
|
17
|
+
"version": "4.1.15",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"postpublish": "git push && git push --tags"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@webqit/quantum-js": "^4.5.
|
|
43
|
-
"@webqit/realdom": "^2.1.
|
|
42
|
+
"@webqit/quantum-js": "^4.5.11",
|
|
43
|
+
"@webqit/realdom": "^2.1.28",
|
|
44
44
|
"@webqit/util": "^0.8.11"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
package/src/scoped-js/index.js
CHANGED
|
@@ -117,7 +117,7 @@ function realtime( config ) {
|
|
|
117
117
|
function compileScript( config, script ) {
|
|
118
118
|
const window = this, { webqit: { oohtml, QuantumScript, AsyncQuantumScript, QuantumModule } } = window;
|
|
119
119
|
const textContent = ( script._ = script.textContent.trim() ) && script._.startsWith( '/*@oohtml*/if(false){' ) && script._.endsWith( '}/*@oohtml*/' ) ? script._.slice( 21, -12 ) : script.textContent;
|
|
120
|
-
if ( !
|
|
120
|
+
if ( !textContent.trim().length ) return;
|
|
121
121
|
const sourceHash = _toHash( textContent );
|
|
122
122
|
const compileCache = oohtml.Script.compileCache[ script.quantum ? 0 : 1 ];
|
|
123
123
|
let compiledScript;
|