Creating separate exports file
This commit is contained in:
@@ -61,5 +61,3 @@ export default class AICC extends Scorm12API {
|
||||
this.nav = newAPI.nav;
|
||||
}
|
||||
}
|
||||
|
||||
window.AICC = AICC;
|
||||
|
||||
@@ -292,5 +292,3 @@ export default class Scorm12API extends BaseAPI {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.Scorm12API = Scorm12API;
|
||||
|
||||
@@ -523,5 +523,3 @@ export default class Scorm2004API extends BaseAPI {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.Scorm2004API = Scorm2004API;
|
||||
|
||||
7
src/exports.js
Normal file
7
src/exports.js
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user