mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-14 22:51:28 +00:00
formatting
This commit is contained in:
committed by
Alexander Ljungberg
parent
a34ae45b05
commit
e4163c5da4
@@ -557,7 +557,7 @@
|
||||
_rangeEntries[startingIndex].range=CPMakeRange(originalOffset, offsetFromSplicing);
|
||||
}
|
||||
|
||||
if(patchPosition !== startingIndex)
|
||||
if (patchPosition !== startingIndex)
|
||||
{ var lhsOffset=aString.length -CPIntersectionRange(_rangeEntries[patchPosition].range, aRange).length;
|
||||
_rangeEntries[patchPosition].range.length = originalLength+lhsOffset;
|
||||
var rhsOffset=aString.length -CPIntersectionRange(_rangeEntries[startingIndex].range, aRange).length;
|
||||
|
||||
Reference in New Issue
Block a user