Sha256: c5b8d64d07b59f2da231e28091486a675c5b2c117465a664baf52525544f85ef

Contents?: true

Size: 234 Bytes

Versions: 76

Compression:

Stored size: 234 Bytes

Contents

if (typeof window == 'undefined') {
  global = this;
  console = {};
  ['error', 'log', 'info', 'warn'].forEach(function (fn) {
    if (!(fn in console)) {
      console[fn] = function () {};
    }
  });
} else {
  global = window;
}

Version data entries

76 entries across 58 versions & 1 rubygems

Version Path
revelry_core-0.1.24.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.23.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.22.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.21.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.20.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.19.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.18.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.17.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.16.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.15.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.14.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.14.0 spec/dummy/tmp/jasmine/assets/revelry/execjs_global_shim.self.js
revelry_core-0.1.13.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.13.0 spec/dummy/tmp/jasmine/assets/revelry/execjs_global_shim.self.js
revelry_core-0.1.12.6 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.12.5 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.12.4 spec/dummy/tmp/jasmine/assets/revelry/execjs_global_shim.self.js
revelry_core-0.1.12.4 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.12.4 spec/dummy/tmp/jasmine/assets/revelry/environment.self.js
revelry_core-0.1.12.3 app/assets/javascripts/revelry/execjs_global_shim.js