Remove unused stuff.

This commit is contained in:
Robin Ward 2014-05-07 14:45:56 -04:00
parent 804a489c7b
commit 0e296e767a
2 changed files with 0 additions and 26 deletions

View File

@ -1,22 +0,0 @@
(function(program, execJS) { execJS(program) })(function(module, exports, console) {
#{source}
}, function(program) {
var output, print = function(string) {
process.stdout.write('' + string);
};
try {
result = program();
if (typeof result == 'undefined' && result !== null) {
print('["ok"]');
} else {
try {
print(JSON.stringify(['ok', result]));
} catch (err) {
print('["err"]');
}
}
} catch (err) {
print(JSON.stringify(['err', '' + err]));
}
});

View File

@ -69,10 +69,6 @@ module Tilt
private
def transpiler_path
File.expand_path('../../support/es6-module-transpiler.js', __FILE__)
end
def generate_source(scope)
"new module.exports.Compiler(#{::JSON.generate(data, quirks_mode: true)}, '#{module_name(scope.root_path, scope.logical_path)}', #{compiler_options}).#{compiler_method}()"
end