Sha256: 3ebb5564c57981ce951223598c99757f9cba66c222ed0e12d44177088e1428a9

Contents?: true

Size: 312 Bytes

Versions: 54

Compression:

Stored size: 312 Bytes

Contents

"use strict";

module.exports = function (nameForErrorMessage, window) {
  if (!window) {
    // Do nothing for window-less documents.
    return;
  }

  const error = new Error(`Not implemented: ${nameForErrorMessage}`);
  error.type = "not implemented";

  window._virtualConsole.emit("jsdomError", error);
};

Version data entries

54 entries across 51 versions & 6 rubygems

Version Path
clapton-0.0.26 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.19 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/jsdom/lib/jsdom/browser/not-implemented.js