Permalink
Browse files

Remove spurious call to missing function.

  • Loading branch information...
1 parent a320837 commit ab78184b263eb81e5ae3d55373ce3a2d4d169478 @philbooth committed Jun 15, 2012
Showing with 6 additions and 8 deletions.
  1. +6 −8 jsmeter.js
View
@@ -5,7 +5,7 @@ exports.jsmeter = (function () {
results = [],
events = require("events");
tokens.setup();
-
+
var SimpleEventedObject = function () {
events.EventEmitter.call(this);
};
@@ -16,7 +16,7 @@ exports.jsmeter = (function () {
enumerable : false
}
});
-
+
var runJsmeter = function (source, name) {
var result = [];
try {
@@ -31,7 +31,7 @@ exports.jsmeter = (function () {
};
complexity.complexity(tree, name);
complexity.renderStats(out, "JSON");
-
+
result = JSON.parse(out.text);
} catch (ex) {
console.log("exception: " + ex);
@@ -40,13 +40,11 @@ exports.jsmeter = (function () {
delete parse;
delete source;
delete tree;
-
+
return result;
};
-
- start();
-
+
return {
run : runJsmeter
};
-})();
+})();

0 comments on commit ab78184

Please sign in to comment.