Skip to content

Commit 3d279bb

Browse files
committed
chore: remove comments
1 parent 8ca21cc commit 3d279bb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/html-diff/src/index.ts

-8
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,6 @@ export default class HtmlDiff {
153153
)
154154
break
155155
case 'replace':
156-
// should handle the duplicated tags(to optimize): find the same tag name and reserve one
157-
// delete: <p>dd
158-
// create: <p>ff</p><p>haha
159-
// expected: <p><span class>dd</span><span class>ff</span></p><p>haha
160-
// delete: <p>dd</p><p>滴
161-
// create: <p>ff</p><p>haha
162-
// expected: <p><span class>dd</span><span class>ff</span></p>ha<p>
163-
164156
// deal specially tag replace
165157
const olds = this.oldWords.slice(operation.oldStart, operation.oldEnd)
166158
const news = this.newWords.slice(operation.newStart, operation.newEnd)

0 commit comments

Comments
 (0)