Commit c1379b85 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

use strict: not create global variable (without var)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56593 954022d7-b5bf-4e40-9824-e11837661b57
parent f5351d82
...@@ -168,9 +168,9 @@ ParaMath.prototype = ...@@ -168,9 +168,9 @@ ParaMath.prototype =
} }
else else
{ {
nPosStart = oStartContent.State.ContentPos; var nPosStart = oStartContent.State.ContentPos,
nLenStart = oStartContent.Content.length; nLenStart = oStartContent.Content.length,
nPosEnd = oEndContent.State.ContentPos; nPosEnd = oEndContent.State.ContentPos;
History.Create_NewPoint(); History.Create_NewPoint();
...@@ -179,7 +179,7 @@ ParaMath.prototype = ...@@ -179,7 +179,7 @@ ParaMath.prototype =
var oMRun = new ParaRun(this.Paragraph, true); var oMRun = new ParaRun(this.Paragraph, true);
oMRun.Pr = oStartContent.Pr; oMRun.Pr = oStartContent.Pr;
for (i=nPosStart; i<nLenStart; i++) for (var i=nPosStart; i<nLenStart; i++)
{ {
var Pos = oMRun.Content.length; var Pos = oMRun.Content.length;
var EndPos = Pos + 1; var EndPos = Pos + 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment