node-uglifier-es
Version:
Fully auto merging and uglifying a whole NodeJs project into one file with external files option. Recompiled from Zsolt Istvan Szabo's work with uglify-es instead of uglify-js-harmony.
32 lines (23 loc) • 1.08 kB
JavaScript
// Generated by CoffeeScript 1.10.0
(function() {
var CyclicDependencies, util,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnProperty;
util = require("util");
CyclicDependencies = (function(superClass) {
extend(CyclicDependencies, superClass);
function CyclicDependencies(cyclesArrOfArr) {
var msg;
this.name = 'CyclicDependencies';
this.cycles = cyclesArrOfArr;
msg = "There has been " + cyclesArrOfArr.length + " cycles in the dependency tree: \n" + util.inspect(cyclesArrOfArr, {
showHidden: true,
depth: null
});
return CyclicDependencies.__super__.constructor.call(this, msg);
}
return CyclicDependencies;
})(Error);
module.exports.CyclicDependencies = CyclicDependencies;
}).call(this);
//# sourceMappingURL=Errors.js.map