Ver Fonte

chore: remove strayed counter

Estevao Soares dos Santos há 8 anos atrás
pai
commit
427859b3f7

+ 1 - 3
dist/showdown.js

@@ -1942,7 +1942,7 @@ showdown.subParser('hashHTMLBlocks', function (text, options, globals) {
 
   for (var i = 0; i < blockTags.length; ++i) {
 
-    var opTagPos, ii = 0,
+    var opTagPos,
         rgx1     = new RegExp('^ {0,3}<' + blockTags[i] + '\\b[^>]*>', 'im'),
         patLeft  = '<' + blockTags[i] + '\\b[^>]*>',
         patRight = '</' + blockTags[i] + '>';
@@ -1957,9 +1957,7 @@ showdown.subParser('hashHTMLBlocks', function (text, options, globals) {
       if (newSubText1 === subTexts[1]) {
         break;
       }
-
       text = subTexts[0].concat(newSubText1);
-      ii++;
     }
   }
   // HR SPECIAL CASE

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/showdown.js.map


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/showdown.min.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/showdown.min.js.map


+ 1 - 3
src/subParsers/hashHTMLBlocks.js

@@ -50,7 +50,7 @@ showdown.subParser('hashHTMLBlocks', function (text, options, globals) {
 
   for (var i = 0; i < blockTags.length; ++i) {
 
-    var opTagPos, ii = 0,
+    var opTagPos,
         rgx1     = new RegExp('^ {0,3}<' + blockTags[i] + '\\b[^>]*>', 'im'),
         patLeft  = '<' + blockTags[i] + '\\b[^>]*>',
         patRight = '</' + blockTags[i] + '>';
@@ -65,9 +65,7 @@ showdown.subParser('hashHTMLBlocks', function (text, options, globals) {
       if (newSubText1 === subTexts[1]) {
         break;
       }
-
       text = subTexts[0].concat(newSubText1);
-      ii++;
     }
   }
   // HR SPECIAL CASE

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff