Skip to content

Commit

Permalink
Fixed tabs and style.
Browse files Browse the repository at this point in the history
  • Loading branch information
amasad committed Apr 29, 2012
1 parent 0268bc5 commit 977ec10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
self.console = {
log: function () {}
};
importScripts('python.opt.js');

self.prompt = function () {
return 'Input not supported in demo';
}
};

importScripts('python.opt.js');

Python.initialize(null, function(chr) {
if (chr !== null)
postMessage(String.fromCharCode(chr));
Expand All @@ -18,7 +19,6 @@
if (result !== null && result !== undefined) {
postMessage('\n--------------------------\nResult: ' + result);
}

} else {
postMessage('\nCommand not finished.\n');
}
Expand Down

0 comments on commit 977ec10

Please sign in to comment.