aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOphir LOJKINE <pere.jobs@gmail.com>2014-05-18 01:13:22 +0200
committerOphir LOJKINE <pere.jobs@gmail.com>2014-05-18 01:13:22 +0200
commitdeb10f42434a8992b67b72d0dc3bf993b5fe410f (patch)
tree8f726f6a2e9ab8e49122cb591e15065085cf4667
parentf0489213abd2235a7fc81ab558b5a234ceeee9e3 (diff)
Correct indentation
-rw-r--r--src/preamble.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 0e0101f2..4fa9ee06 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -391,9 +391,9 @@ var cwrap, ccall;
var sourceRegex = /^function \((.*)\)\s*{\s*([^]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;
function parseJSFunc(jsfunc) {
- // Match the body and the return value of a javascript function source
- var parsed = jsfunc.toString().match(sourceRegex).slice(1);
- return {arguments : parsed[0], body : parsed[1], returnValue: parsed[2]}
+ // Match the body and the return value of a javascript function source
+ var parsed = jsfunc.toString().match(sourceRegex).slice(1);
+ return {arguments : parsed[0], body : parsed[1], returnValue: parsed[2]}
}
var JSsource = {};
for (var fun in JSfuncs) {