Plato on Github
Report Home
node_modules/jsdom/lib/jsdom/browser/utils.js
Maintainability
81.33
Lines of code
12
Difficulty
7.94
Estimated Errors
0.08
Function weight
By Complexity
By SLOC
"use strict"; var jsdom = require("../../jsdom"); exports.NOT_IMPLEMENTED = function (target, nameForErrorMessage) { return function () { if (!jsdom.debugMode) { var raise = target ? target.raise : this.raise; raise.call(this, "error", "NOT IMPLEMENTED" + (nameForErrorMessage ? ": " + nameForErrorMessage : "")); } }; };