convert plugins to ES modules, transpile es5 versions backwards compatibility
This commit is contained in:
parent
9522357349
commit
a55cd813be
36 changed files with 3018 additions and 886 deletions
|
@ -60,8 +60,8 @@ export default class Plugins {
|
|||
|
||||
// Load synchronous scripts
|
||||
scripts.forEach( s => {
|
||||
if( s.plugin ) {
|
||||
this.registerPlugin( s.plugin );
|
||||
if( typeof s.id === 'string' ) {
|
||||
this.registerPlugin( s );
|
||||
scriptLoadedCallback( s );
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue