Skip to content

Commit da7942d

Browse files
committed
@ => native
1 parent 54f5f64 commit da7942d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contributed/conversationalAI/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import model from "model" with { type:"json" };
2323
import assets from "assets";
2424
import Controller from "Controller";
2525

26-
globalThis.importNow = function(specifier) @ "xs_importNow";
26+
globalThis.importNow = function(specifier) { return native("xs_importNow").call(this, specifier); };
2727
globalThis.localize = function(it) {
2828
if (it) {
2929
let result = locals.get(it);

contributed/conversationalAI/views/Levels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import assets from "assets";
2323
import Timeline from "piu/Timeline";
2424
import View from "Common";
2525

26-
function computeLevel(buffer) @ "xs_computeLevel";
26+
function computeLevel(buffer) { return native("xs_computeLevel").call(this, buffer); };
2727

2828
class LevelsBehavior extends View.Behavior {
2929
onCreate(container, view) {

0 commit comments

Comments
 (0)