Skip to content

Commit

Permalink
Made code slightly more readable.
Browse files Browse the repository at this point in the history
  • Loading branch information
xavi- committed Jun 5, 2010
1 parent adecb62 commit 50136a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Expand Up @@ -114,7 +114,8 @@

function restore(txt) {
return txt.toString().replace(/\(\^:\d+?:\^\)/g, function(id) {
var rtn = map[id]; delete map[id];
var rtn = map[id];
delete map[id];
return restore(rtn);
});
}
Expand Down

0 comments on commit 50136a4

Please sign in to comment.