Index: trunk/parsers/wikidom/lib/es/es.Content.js |
— | — | @@ -223,8 +223,7 @@ |
224 | 224 | throw 'Invalid stack error. An element is missing from the stack.'; |
225 | 225 | } |
226 | 226 | // Close each already opened annotation |
227 | | - var i; |
228 | | - for ( i = stack.length - 1; i >= depth + 1; i-- ) { |
| 227 | + for ( var i = stack.length - 1; i >= depth + 1; i-- ) { |
229 | 228 | out += typeof renderers[stack[i].type]['close'] === 'function' |
230 | 229 | ? renderers[stack[i].type]['close']( stack[i].data ) |
231 | 230 | : renderers[stack[i].type]['close']; |
— | — | @@ -234,8 +233,7 @@ |
235 | 234 | ? renderers[type]['close']( annotation.data ) |
236 | 235 | : renderers[type]['close']; |
237 | 236 | // Re-open each previously opened annotation |
238 | | - var i; |
239 | | - for ( i = depth + 1; i < stack.length; i++ ) { |
| 237 | + for ( var i = depth + 1; i < stack.length; i++ ) { |
240 | 238 | out += typeof renderers[stack[i].type]['open'] === 'function' |
241 | 239 | ? renderers[stack[i].type]['open']( stack[i].data ) |
242 | 240 | : renderers[stack[i].type]['open']; |