Skip to content

Commit 0ba8952

Browse files
committed
rename to hyperscript-template
1 parent c623caf commit 0ba8952

44 files changed

Lines changed: 208 additions & 208 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/_hyperscript.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/_hyperscript.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/_hyperscript.esm.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/_hyperscript.esm.min.js.br

-28 Bytes
Binary file not shown.

dist/_hyperscript.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/_hyperscript.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/_hyperscript.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/_hyperscript.min.js.br

-44 Bytes
Binary file not shown.

src/ext/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ export default function componentPlugin(_hyperscript) {
255255

256256
_hyperscript.addBeforeProcessHook(function(elt) {
257257
if (!elt || !elt.querySelectorAll) return;
258-
elt.querySelectorAll('script[type="text/hypertemplate"][component]').forEach(function(tmpl) {
258+
elt.querySelectorAll('script[type="text/hyperscript-template"][component]').forEach(function(tmpl) {
259259
// Always strip _ to prevent normal processNode from running it on the template
260260
var script = tmpl.getAttribute('_') || '';
261261
tmpl.removeAttribute('_');

src/parsetree/commands/template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ function getTemplateSource(el) {
55
return el.textContent;
66
}
77

8-
var LIVE_SELECTOR = 'script[type="text/hypertemplate"][live]';
8+
var LIVE_SELECTOR = 'script[type="text/hyperscript-template"][live]';
99

1010
/**
1111
* LiveTemplate - Registers a before-process hook that finds <template live>
12-
* and <script type="text/hypertemplate" live> elements, renders their content
12+
* and <script type="text/hyperscript-template" live> elements, renders their content
1313
* reactively, and morphs updates into a wrapper element.
1414
*/
1515
export function initLiveTemplates(runtime, tokenizer, Parser, kernel, reactivity) {

0 commit comments

Comments
 (0)