Skip to content

Commit

Permalink
removed old pre ES6 requireJs function
Browse files Browse the repository at this point in the history
  • Loading branch information
padams committed Jan 23, 2022
1 parent afd940d commit adb2e52
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions modules/base/src/common/owa.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class OWA {
filters: {}
};

this.loadedJsLibs = {};
this.overlay = '';
this.config = {
ns: 'owa_',
Expand Down Expand Up @@ -60,22 +59,6 @@ class OWA {
return string;
}

requireJs(name, url, callback) {

if ( ! this.isJsLoaded( name ) ) {
Util.loadScript( url, callback );
}

this.loadedJsLibs[name] = url;
}

isJsLoaded( name ) {

if ( this.loadedJsLibs.hasOwnProperty( name ) ) {
return true;
}
}

initializeStateManager() {

if ( ! this.state.hasOwnProperty('init') ) {
Expand Down

0 comments on commit adb2e52

Please sign in to comment.