MCPcopy Index your code
hub / github.com/codecombat/codecombat / transpile

Function transpile

app/assets/javascripts/workers/aether_worker.js:78–88  ·  view source on GitHub ↗
(spellKey, source)

Source from the content-addressed store, hash-verified

76};
77
78var transpile = function(spellKey, source) {
79 var currentAether = aethers[spellKey];
80 currentAether.transpile(source);
81 var functionName = "transpile";
82 var returnObject = {
83 "problems": currentAether.problems,
84 "function": functionName,
85 "spellKey": spellKey
86 };
87 return JSON.stringify(returnObject);
88};
89
90self.addEventListener('message', function(e) {
91 var data = JSON.parse(e.data);

Callers 1

aether_worker.jsFile · 0.85

Calls 1

stringifyMethod · 0.45

Tested by

no test coverage detected