All files / source/CaffeineMc/Compilers JavaScript.js

94.12% Statements 16/17
100% Branches 2/2
83.33% Functions 5/6
88.89% Lines 8/9

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27  7x   469x 7x   7x 7x           7x 4x             7x          
// 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);