mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
Remove unused stuff.
This commit is contained in:
@ -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]));
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user