回答編集履歴
1
テキスト修正
test
CHANGED
@@ -8,11 +8,15 @@
|
|
8
8
|
|
9
9
|
```javascript
|
10
10
|
|
11
|
-
$(".wrap")
|
11
|
+
$(".wrap")
|
12
|
+
|
13
|
+
.contents()
|
14
|
+
|
15
|
+
.filter(
|
12
16
|
|
13
17
|
function() {
|
14
18
|
|
15
|
-
return this.nodeType ===
|
19
|
+
return this.nodeType === Node.TEXT_NODE;
|
16
20
|
|
17
21
|
}
|
18
22
|
|
@@ -20,7 +24,7 @@
|
|
20
24
|
|
21
25
|
function(i) {
|
22
26
|
|
23
|
-
return `<div class="txt${i+1}"/>`
|
27
|
+
return `<div class="txt${i+1}"/>`;
|
24
28
|
|
25
29
|
}
|
26
30
|
|