@wordpress/interactivity
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -607,4 +607,6 @@ // eslint-disable-next-line eslint-comments/disable-enable-pair | ||
}); | ||
directive('each-child', () => null); | ||
directive('each-child', () => null, { | ||
priority: 1 | ||
}); | ||
}); | ||
//# sourceMappingURL=directives.js.map |
@@ -252,3 +252,3 @@ /** | ||
const jsonDataScriptTag = // Preferred Script Module data passing form | ||
(_dom$getElementById = dom.getElementById('wp-scriptmodule-data_@wordpress/interactivity')) !== null && _dom$getElementById !== void 0 ? _dom$getElementById : | ||
(_dom$getElementById = dom.getElementById('wp-script-module-data-@wordpress/interactivity')) !== null && _dom$getElementById !== void 0 ? _dom$getElementById : | ||
// Legacy form | ||
@@ -255,0 +255,0 @@ dom.getElementById('wp-interactivity-data'); |
@@ -613,5 +613,7 @@ "use strict"; | ||
}); | ||
(0, _hooks2.directive)('each-child', () => null); | ||
(0, _hooks2.directive)('each-child', () => null, { | ||
priority: 1 | ||
}); | ||
}; | ||
exports.default = _default; | ||
//# sourceMappingURL=directives.js.map |
@@ -262,3 +262,3 @@ "use strict"; | ||
const jsonDataScriptTag = // Preferred Script Module data passing form | ||
(_dom$getElementById = dom.getElementById('wp-scriptmodule-data_@wordpress/interactivity')) !== null && _dom$getElementById !== void 0 ? _dom$getElementById : | ||
(_dom$getElementById = dom.getElementById('wp-script-module-data-@wordpress/interactivity')) !== null && _dom$getElementById !== void 0 ? _dom$getElementById : | ||
// Legacy form | ||
@@ -265,0 +265,0 @@ dom.getElementById('wp-interactivity-data'); |
{ | ||
"name": "@wordpress/interactivity", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Package that provides a standard and simple way to handle the frontend interactivity of Gutenberg blocks.", | ||
@@ -37,3 +37,3 @@ "author": "The WordPress Contributors", | ||
}, | ||
"gitHead": "2f30cddff15723ac7017fd009fc5913b7b419400" | ||
"gitHead": "0e973525f7787401b5a544e0727774d52a78639f" | ||
} |
@@ -324,3 +324,5 @@ /** | ||
// Preferred Script Module data passing form | ||
dom.getElementById( 'wp-scriptmodule-data_@wordpress/interactivity' ) ?? | ||
dom.getElementById( | ||
'wp-script-module-data-@wordpress/interactivity' | ||
) ?? | ||
// Legacy form | ||
@@ -327,0 +329,0 @@ dom.getElementById( 'wp-interactivity-data' ); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
485487
5888