Sha256: 08dba5ecfe107b9fcbb2e9954ed7b05619fffa0717745d4379ea0a20e8f0f4b7
Contents?: true
Size: 1.3 KB
Versions: 16
Compression:
Stored size: 1.3 KB
Contents
I")(function() { Rev.registerMixin('GridColumn', { _gridColumnBooleanClassProps: ["end", "smallCentered", "mediumCentered", "largeCentered", "smallUncentered", "mediumUncentered", "largeUncentered"], _gridColumnNumericClassProps: ["small", "smallOffset", "smallPush", "smallPull", "medium", "mediumOffset", "mediumPush", "mediumPull", "large", "largeOffset", "largePush", "largePull"], _gridColumnRewriteClassName: function(props) { var classes, name, _i, _j, _len, _len1, _ref, _ref1; classes = { columns: true }; _ref = this._gridColumnBooleanClassProps; for (_i = 0, _len = _ref.length; _i < _len; _i++) { name = _ref[_i]; classes[_.str.dasherize(name)] = this.props[name]; } _ref1 = this._gridColumnNumericClassProps; for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) { name = _ref1[_j]; if (this.props[name] != null) { classes[(_.str.dasherize(name)) + "-" + this.props[name]] = true; } } return this.props.className = this.classAdd(classes); }, componentWillMount: function() { return this._gridColumnRewriteClassName(this.props); }, componentWillReceiveProps: function(props) { return this._gridColumnRewriteClassName(props); } }); }).call(this); :ET
Version data entries
16 entries across 16 versions & 1 rubygems