caffeine-mc
Version:
Select, configure and extend your to-JavaScript compiler, with arbitrary code, on a per file bases from within the file.
29 lines (21 loc) • 857 B
JavaScript
// Generated by CoffeeScript 1.12.7
(function() {
var JavaScript,
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;
module.exports = JavaScript = (function(superClass) {
extend(JavaScript, superClass);
function JavaScript() {
return JavaScript.__super__.constructor.apply(this, arguments);
}
JavaScript.compile = function(sourceCode, options) {
return {
compiled: {
js: sourceCode
}
};
};
return JavaScript;
})(require('art-class-system').BaseClass);
}).call(this);
//# sourceMappingURL=JavaScript.js.map