MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / install

Method install

www/js/_hyperscript.js:10094–10108  ·  view source on GitHub ↗
(target, source, args, runtime2)

Source from the content-addressed store, hash-verified

10092 return feature;
10093 }
10094 install(target, source, args, runtime2) {
10095 var feature = this;
10096 queueMicrotask(function() {
10097 runtime2.reactivity.createEffect(
10098 function() {
10099 feature.commands.execute(
10100 runtime2.makeContext(target, feature, target, null)
10101 );
10102 },
10103 function() {
10104 },
10105 { element: target }
10106 );
10107 });
10108 }
10109 };
10110
10111 // src/parsetree/commands/template.js

Callers

nothing calls this directly

Calls 3

createEffectMethod · 0.45
executeMethod · 0.45
makeContextMethod · 0.45

Tested by

no test coverage detected