Sha256: 49f83255a0cfb456147772a48a9e8210af815f3611d0df83a517971fe02a32d1

Contents?: true

Size: 1.69 KB

Versions: 8

Compression:

Stored size: 1.69 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"jasmine-console-shims.js;TI"
pathname;TI"g/Library/Ruby/Gems/2.0.0/gems/jasmine-rails-0.10.0/lib/assets/javascripts/jasmine-console-shims.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+¤ð\TI"length;TiÞI"digest;TI"%4b986527e5318c7b86f56a8ca37802c1;FI"source;TI"Þ// using react's Function.prototype.bind polyfill for phantomjs
// https://github.com/facebook/react/blob/master/src/test/phantomjs-shims.js

(function() {

var Ap = Array.prototype;
var slice = Ap.slice;
var Fp = Function.prototype;

if (!Fp.bind) {
  // PhantomJS doesn't support Function.prototype.bind natively, so
  // polyfill it whenever this module is required.
  Fp.bind = function(context) {
    var func = this;
    var args = slice.call(arguments, 1);

    function bound() {
      var invokedAsConstructor = func.prototype && (this instanceof func);
      return func.apply(
        // Ignore the context parameter when invoking the bound function
        // as a constructor. Note that this includes not only constructor
        // invocations using the new keyword but also calls to base class
        // constructors such as BaseClass.call(this, ...) or super(...).
        !invokedAsConstructor && context || this,
        args.concat(slice.call(arguments))
      );
    }

    // The bound function must share the .prototype of the unbound
    // function so that any object created by one constructor will count
    // as an instance of both constructors.
    bound.prototype = func.prototype;

    return bound;
  };
}

})();
;TI"required_assets_digest;TI"%ede117faed8a8865c223f104cee6019f;FI"
_version;TI"%b910479f035fc02c55a3e167aaa8a0b8;F

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
social_networking-0.11.7 spec/dummy/tmp/cache/assets/development/sprockets/4de2008a249b3d5439d46edcce69a9bc
social_networking-0.11.7 spec/dummy/tmp/cache/assets/development/sprockets/90b12913802367b0b05d3cc89d205469
social_networking-0.11.6 spec/dummy/tmp/cache/assets/development/sprockets/4de2008a249b3d5439d46edcce69a9bc
social_networking-0.11.6 spec/dummy/tmp/cache/assets/development/sprockets/90b12913802367b0b05d3cc89d205469
social_networking-0.11.2 spec/dummy/tmp/cache/assets/development/sprockets/4de2008a249b3d5439d46edcce69a9bc
social_networking-0.11.2 spec/dummy/tmp/cache/assets/development/sprockets/90b12913802367b0b05d3cc89d205469
social_networking-0.11.1 spec/dummy/tmp/cache/assets/development/sprockets/4de2008a249b3d5439d46edcce69a9bc
social_networking-0.11.1 spec/dummy/tmp/cache/assets/development/sprockets/90b12913802367b0b05d3cc89d205469