mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-25 01:04:14 -05:00
fix: make sure stepCycle exists before calling (#1509)
* fix: make sure checking stepCycle func exist before calling * fix: make sure stepCycle func exist before calling * fix: also check if app exist * fix: add return * fix: make sure checking stepCycle func exist before calling * fix: make sure stepCycle func exist before calling * fix: also check if app exist * fix: add return * chore: update engima and schema version * test: unit test * fix: remove engine version --------- Co-authored-by: caele <tsm@qlik.com>
This commit is contained in:
@@ -2,7 +2,7 @@ import enigma from 'enigma.js';
|
||||
|
||||
export default function connect() {
|
||||
const loadSchema = () =>
|
||||
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());
|
||||
fetch('https://unpkg.com/enigma.js/schemas/12.2015.0.json').then((response) => response.json());
|
||||
|
||||
const createConnection = () =>
|
||||
loadSchema().then((schema) =>
|
||||
|
||||
@@ -42,7 +42,7 @@ import enigma from 'enigma.js';
|
||||
|
||||
export default function connect() {
|
||||
const loadSchema = () =>
|
||||
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());
|
||||
fetch('https://unpkg.com/enigma.js/schemas/12.2015.0.json').then((response) => response.json());
|
||||
const localApp = '/apps/Ctrl-00.qvf';
|
||||
|
||||
const createConnection = () =>
|
||||
|
||||
@@ -2,7 +2,7 @@ import enigma from 'enigma.js';
|
||||
|
||||
export default function connect() {
|
||||
const loadSchema = () =>
|
||||
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());
|
||||
fetch('https://unpkg.com/enigma.js/schemas/12.2015.0.json').then((response) => response.json());
|
||||
|
||||
const createConnection = () =>
|
||||
loadSchema().then((schema) =>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
window.connect = function connect() {
|
||||
const loadSchema = () =>
|
||||
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());
|
||||
fetch('https://unpkg.com/enigma.js/schemas/12.2015.0.json').then((response) => response.json());
|
||||
|
||||
const createConnection = () =>
|
||||
loadSchema().then((schema) =>
|
||||
|
||||
Reference in New Issue
Block a user