Skip to content

Commit aa0d088

Browse files
committed
finished setting openscript example
1 parent 22ddde1 commit aa0d088

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

OpenScript.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4325,6 +4325,7 @@ const {
43254325
payload,
43264326
} = new OpenScript.Initializer();
43274327

4328+
window.OpenScript = OpenScript;
43284329
const OJS = OpenScript;
43294330

43304331
/**

example/logic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ bc.counter.listener((state) => {
7878
console.log(`Hello ${state.value}, you are a multiple of 10`);
7979
}
8080
});
81+
8182
bc.counter.listener((state) => {
8283
if (state.value % 20 == 0) {
8384
console.log(`Hello ${state.value}, you are a multiple of 20`);

example/ojs-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,4 @@ broker.requireEventsRegistration(true);
153153
* ---------------------------------------------
154154
*
155155
*/
156-
//router.init();
156+
// router.init();

0 commit comments

Comments
 (0)