r106738 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106737‎ | r106738 | r106739 >
Date:00:15, 20 December 2011
Author:raindrift
Status:ok
Tags:
Comment:
jslint pass, fixed critical-seeming stuff.
Modified paths:
  • /trunk/extensions/TimedMediaHandler/MwEmbedModules/TimedText/resources/mw.TextSource.js (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/TimedText/resources/mw.TextSource.js
@@ -211,7 +211,7 @@
212212 if( attrName[c].toLowerCase() != attrName[c] ){
213213 cssName += '-' + attrName[c].toLowerCase();
214214 } else {
215 - cssName+= attrName[c]
 215+ cssName+= attrName[c];
216216 }
217217 }
218218 cssObject[ cssName ] = attr.nodeValue;
@@ -420,7 +420,7 @@
421421 return true;
422422 }
423423 // Check only for time match:
424 - var m = currentPtext
 424+ m = currentPtext
425425 .replace('-->', '-->')
426426 .match(/(\d+):(\d+):(\d+)(?:,(\d+))?\s*--?>\s*(\d+):(\d+):(\d+)(?:,(\d+))?/);
427427 if (m) {

Status & tagging log