Sha256: ad2a084d5dc44f81b9c27ff0092d3d5bb4b5b41b812c047ea0b4df06e724e16b

Contents?: true

Size: 1.07 KB

Versions: 4

Compression:

Stored size: 1.07 KB

Contents

(function() {
  var Declaration, FlexFlow, flexSpec,
    extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
    hasProp = {}.hasOwnProperty;

  flexSpec = require('./flex-spec');

  Declaration = require('../declaration');

  FlexFlow = (function(superClass) {
    extend(FlexFlow, superClass);

    function FlexFlow() {
      return FlexFlow.__super__.constructor.apply(this, arguments);
    }

    FlexFlow.names = ['flex-flow'];

    FlexFlow.prototype.set = function(decl, prefix) {
      var ref, spec;
      ref = flexSpec(prefix), spec = ref[0], prefix = ref[1];
      if (spec === 2012) {
        return FlexFlow.__super__.set.apply(this, arguments);
      } else if (spec === 'final') {
        return FlexFlow.__super__.set.apply(this, arguments);
      }
    };

    return FlexFlow;

  })(Declaration);

  module.exports = FlexFlow;

}).call(this);

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
blackboard-3.1.9 lib/site_template/node_modules/autoprefixer/lib/hacks/flex-flow.js
gulp_assets-1.0.0.pre.5 template/node_modules/autoprefixer/lib/hacks/flex-flow.js
gulp_assets-1.0.0.pre.4 template/node_modules/autoprefixer/lib/hacks/flex-flow.js
gulp_assets-1.0.0.pre.3 template/node_modules/autoprefixer/lib/hacks/flex-flow.js