web/public/javascripts/widget-engine.js
// creates a div for a widget
creates a div for a widget
creates a div for a widget
widgetDiv(widget, defaultGridWidth, enforceWidth) {
        console.log("WidgetEngine.widgetDiv called")
        var elementIdVal = this._elementId(widget)
        if (enforceWidth)
            return this._widgetDivAux(elementIdVal, defaultGridWidth);
        else {
            var gridWidth = widget.displayOptions.gridWidth || defaultGridWidth;
            var gridOffset = widget.displayOptions.gridOffset;
            return this._widgetDivAux(elementIdVal, gridWidth, gridOffset);
        }
    }
widgetDiv ( widget , defaultGridWidth , enforceWidth ) { console . log ( "WidgetEngine.widgetDiv called" ) var elementIdVal = this . _elementId ( widget ) if ( enforceWidth ) return this . _widgetDivAux ( elementIdVal , defaultGridWidth ) ; else { var gridWidth = widget . displayOptions . gridWidth || defaultGridWidth ; var gridOffset = widget . displayOptions . gridOffset ; return this . _widgetDivAux ( elementIdVal , gridWidth , gridOffset ) ; } }
creates a div for a widget
creates a div for a widget