src/Widget.js
/**
         * Before loading, ensure that a placement key is present or abort
         * @return {boolean}
         * @private
         */
Before loading, ensure that a placement key is present or abort
@return {boolean}
@private
Before loading ensure that a placement key is present or abort @return { boolean } @private
_ensurePlacementKey() {
            if (this.config.key) {
                return true;
            } else if (okanjo.key) {
                this.config.key = okanjo.key;
                return true;
            }
            okanjo.report('No key provided on widget', { widget: this });
            this.showError('Error: Missing placement key.');
            return false;
        }
_ensurePlacementKey ( ) { if ( this . config . key ) { return true ; } else if ( okanjo . key ) { this . config . key = okanjo . key ; return true ; } okanjo . report ( 'No key provided on widget' , { widget : this } ) ; this . showError ( 'Error: Missing placement key.' ) ; return false ; }
Before loading, ensure that a placement key is present or abort
 @return {boolean}
 @private
Before loading ensure that a placement key is present or abort @return { boolean } @private
// Check if set on widget or globally // Copy key from global scope, // No key set, can't load.