diff --git a/index.html b/index.html new file mode 100644 index 0000000..8d8888b --- /dev/null +++ b/index.html @@ -0,0 +1,11 @@ + + + + + Test Page + + + + + + \ No newline at end of file diff --git a/src/AICC.js b/src/AICC.js index 00f405d..c9bb9c8 100644 --- a/src/AICC.js +++ b/src/AICC.js @@ -61,5 +61,3 @@ export default class AICC extends Scorm12API { this.nav = newAPI.nav; } } - -window.AICC = AICC; diff --git a/src/Scorm12API.js b/src/Scorm12API.js index 321c029..36d6c36 100644 --- a/src/Scorm12API.js +++ b/src/Scorm12API.js @@ -292,5 +292,3 @@ export default class Scorm12API extends BaseAPI { } } } - -window.Scorm12API = Scorm12API; diff --git a/src/Scorm2004API.js b/src/Scorm2004API.js index db281c6..e2b84ab 100644 --- a/src/Scorm2004API.js +++ b/src/Scorm2004API.js @@ -523,5 +523,3 @@ export default class Scorm2004API extends BaseAPI { } } } - -window.Scorm2004API = Scorm2004API; diff --git a/src/exports.js b/src/exports.js new file mode 100644 index 0000000..df9609f --- /dev/null +++ b/src/exports.js @@ -0,0 +1,7 @@ +import Scorm2004API from './Scorm2004API'; +import Scorm12API from './Scorm12API'; +import AICC from './AICC'; + +window.Scorm12API = Scorm12API; +window.Scorm2004API = Scorm2004API; +window.AICC = AICC;