Skip to content

Commit

Permalink
Fixed merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
austinyun committed Sep 6, 2012
1 parent 2cc7caf commit e329eec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
13 changes: 0 additions & 13 deletions main.js
Expand Up @@ -36,22 +36,9 @@ module.exports = function(optsArg) {

acc.push([candidate, open, close + 1]);

<<<<<<< HEAD
// Terminate based on the "multiple" option
if (opts.multiple === acc.length) {
return cb(null, acc);
=======
try {
// Have to put the return in otherwise it will callback
// multiple times for every valid object it finds, including
// {}, which I don't want.
// TODO: make result an array of valid JSON objects and return
// result at the end?
result = JSON.parse(candidate);
return callback(null, result, firstOpen, firstClose + 1);
} catch (e) {
// Do nothing
>>>>>>> 751c1fbb5bf3a41cd5b1b781ed56e60ff49ea834
}

recur(str.indexOf("{", open + 1),
Expand Down
4 changes: 0 additions & 4 deletions package.json
Expand Up @@ -4,11 +4,7 @@
"tags": [
"JSON"
],
<<<<<<< HEAD
"version": "0.0.3",
=======
"version": "0.0.2",
>>>>>>> 751c1fbb5bf3a41cd5b1b781ed56e60ff49ea834
"author": "Austin Yun <w.austin.yun@gmail.com>",
"license": "ISC (http://www.isc.org/software/license)",
"repository": {
Expand Down

0 comments on commit e329eec

Please sign in to comment.