lib/scripty.async.js
// Only called for the packages attribute due to observedAttributes
Only called for the packages attribute due to observedAttributes
Only called for the packages attribute due to observedAttributes
attributeChangedCallback(name, oldValue, newValue) {
            this._counter += 1;
            if (name === 'packages' && newValue !== null) {
            } else if (name === 'oncomplete' && newValue !== null) {
                this._oncomplete = newValue;
            } else if (name === 'locals' && newValue !== null) {
                this._locals = newValue;
            }
            if (this._counter === 3) {
                let packs = this.preparePackages(this.packages);
                this.loadPackages(packs);
            }
        }
attributeChangedCallback ( name , oldValue , newValue ) { this . _counter += 1 ; if ( name === 'packages' && newValue !== null ) { } else if ( name === 'oncomplete' && newValue !== null ) { this . _oncomplete = newValue ; } else if ( name === 'locals' && newValue !== null ) { this . _locals = newValue ; } if ( this . _counter === 3 ) { let packs = this . preparePackages ( this . packages ) ; this . loadPackages ( packs ) ; } }
Only called for the packages attribute due to observedAttributes
Only called for the packages attribute due to observedAttributes
//all properties been loaded