Sha256: 07e5570f082db4e6b4ee27c82a3de9f3d866a1a9392e943aa19daf9e06398d43

Contents?: true

Size: 675 Bytes

Versions: 18

Compression:

Stored size: 675 Bytes

Contents

(function() {
  var OldValue, utils;

  utils = require('./utils');

  OldValue = (function() {
    function OldValue(unprefixed, prefixed, string, regexp) {
      this.unprefixed = unprefixed;
      this.prefixed = prefixed;
      this.string = string;
      this.regexp = regexp;
      this.regexp || (this.regexp = utils.regexp(this.prefixed));
      this.string || (this.string = this.prefixed);
    }

    OldValue.prototype.check = function(value) {
      if (value.indexOf(this.string) !== -1) {
        return !!value.match(this.regexp);
      } else {
        return false;
      }
    };

    return OldValue;

  })();

  module.exports = OldValue;

}).call(this);

Version data entries

18 entries across 18 versions & 8 rubygems

Version Path
ilog-0.4.1 node_modules/autoprefixer/lib/old-value.js
ilog-0.4.0 node_modules/autoprefixer/lib/old-value.js
ilog-0.3.3 node_modules/autoprefixer/lib/old-value.js
optimacms-0.4.3 spec/dummy/node_modules/autoprefixer/lib/old-value.js
optimacms-0.4.2 spec/dummy/node_modules/autoprefixer/lib/old-value.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/autoprefixer/lib/old-value.js
lux_assets-0.2.11 ./node_modules/autoprefixer/lib/old-value.js
lux_assets-0.2.9 ./node_modules/autoprefixer/lib/old-value.js
lux_assets-0.2.4 ./node_modules/autoprefixer/lib/old-value.js
lux_assets-0.2.2 ./node_modules/autoprefixer/lib/old-value.js
lux_assets-0.2.1 ./node_modules/autoprefixer/lib/old-value.js
locomotivecms-3.4.0 app/javascript/node_modules/autoprefixer/lib/old-value.js
cortex-0.1.3 spec/dummy/node_modules/cssnano/node_modules/autoprefixer/lib/old-value.js
lanes-0.8.0 node_modules/autoprefixer/lib/old-value.js
blackboard-3.1.9 lib/site_template/node_modules/autoprefixer/lib/old-value.js
gulp_assets-1.0.0.pre.5 template/node_modules/autoprefixer/lib/old-value.js
gulp_assets-1.0.0.pre.4 template/node_modules/autoprefixer/lib/old-value.js
gulp_assets-1.0.0.pre.3 template/node_modules/autoprefixer/lib/old-value.js