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.12.2 spec/dummy/tmp/jasmine/assets/revelry/execjs_global_shim.self.js
revelry_core-0.1.12.2 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.12.2 spec/dummy/tmp/jasmine/assets/revelry/environment.self.js
revelry_core-0.1.12.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.11.6 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.11.6 spec/dummy/tmp/jasmine/assets/revelry/environment.self.js
revelry_core-0.1.11.6 spec/dummy/tmp/jasmine/assets/revelry/execjs_global_shim.self.js
revelry_core-0.1.11.5 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.11.2 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.11.1 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.11.0 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.10.7 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.10.6 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.10.5 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.10.4 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.10.3 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.10.2 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.10.1 spec/dummy/tmp/jasmine/assets/revelry/execjs_global_shim.self.js
revelry_core-0.1.10.1 app/assets/javascripts/revelry/execjs_global_shim.js
revelry_core-0.1.10.1 spec/dummy/tmp/jasmine/assets/revelry/environment.self.js