Sha256: ae908604e12fbe4a36aee5d95ca837cd446d707845eaa0c2442937c04f7df766

Contents?: true

Size: 377 Bytes

Versions: 16

Compression:

Stored size: 377 Bytes

Contents

/*!
 * Should
 * Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
 * MIT Licensed
 */

module.exports = function(should, Assertion) {

  function addLink(name) {
    Object.defineProperty(Assertion.prototype, name, {
      get: function() {
        return this;
      }
    });
  }

  ['an', 'of', 'a', 'and', 'be', 'have', 'with', 'is', 'which'].forEach(addLink);
};

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
stylus-source-0.42.2 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.42.1 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.42.0 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.41.3 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.41.2 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.41.1 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.41.0 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.40.3 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.40.2 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.40.1 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.40.0 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.39.4 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.39.3 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.39.2 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.39.1 vendor/node_modules/should/lib/ext/chain.js
stylus-source-0.39.0 vendor/node_modules/should/lib/ext/chain.js