Skip to content

Commit

Permalink
Fix variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ccampbell committed Mar 19, 2012
1 parent 5064391 commit 9b4ca72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/rainbow.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,8 @@ window['Rainbow'] = (function() {
function _processReplacement(code, positions, i, onComplete) {
if (i < positions.length) {
++replacement_counter;
pos = positions[i];
replacement = replacements[CURRENT_LEVEL][pos];
var pos = positions[i],
replacement = replacements[CURRENT_LEVEL][pos];
code = _replaceAtPosition(pos, replacement['replace'], replacement['with'], code);

// process next function
Expand Down

0 comments on commit 9b4ca72

Please sign in to comment.