Merge pull request #2373 from webzwo0i/avoid-global-vairables

dont make local variables global
This commit is contained in:
John McLear 2014-12-16 00:41:41 +00:00
commit cfa3f15f94
11 changed files with 14 additions and 14 deletions

View file

@ -668,7 +668,7 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
{
//var semiloc = oldString.lastIndexOf(';', lineLimit-1);
//var lengthToTake = (semiloc >= 0 ? (semiloc+1) : lineLimit);
lengthToTake = lineLimit;
var lengthToTake = lineLimit;
newStrings.push(oldString.substring(0, lengthToTake));
oldString = oldString.substring(lengthToTake);
newAttribStrings.push(Changeset.subattribution(oldAttribString, 0, lengthToTake));