@@ -101,7 +101,7 @@ Put the markup in a template. Change the `HTML` tab to the following:
101
101
102
102
</html >
103
103
```
104
- <span line-highlight =' 11,68,only ' />
104
+ <div line-highlight =' 11,68,only ' />
105
105
106
106
> NOTE: autofocus
107
107
@@ -112,7 +112,7 @@ var template = can.stache.from("todomvc-template");
112
112
var frag = template ({});
113
113
document .body .appendChild (frag);
114
114
```
115
- <span line-highlight =' 1-3,only ' />
115
+ <div line-highlight =' 1-3,only ' />
116
116
117
117
## Create the todos type and get items left working
118
118
@@ -149,7 +149,7 @@ var template = can.stache.from("todomvc-template");
149
149
var frag = template ({todos: todos});
150
150
document .body .appendChild (frag);
151
151
```
152
- <span line-highlight =' 1-25,28,only ' />
152
+ <div line-highlight =' 1-25,28,only ' />
153
153
154
154
Update ` HTML ` to:
155
155
@@ -215,7 +215,7 @@ Update `HTML` to:
215
215
216
216
</html >
217
217
```
218
- <span line-highlight =' 22-31,36,50,only ' />
218
+ <div line-highlight =' 22-31,36,50,only ' />
219
219
220
220
Note:
221
221
@@ -276,7 +276,7 @@ var template = can.stache.from("todomvc-template");
276
276
var frag = template ({todosPromise: Todo .getList ({})});
277
277
document .body .appendChild (frag);
278
278
```
279
- <span line-highlight =' 1-15,37-43,46,only ' />
279
+ <div line-highlight =' 1-15,37-43,46,only ' />
280
280
281
281
Update ` HTML ` to:
282
282
@@ -342,7 +342,7 @@ Update `HTML` to:
342
342
343
343
</html >
344
344
```
345
- <span line-highlight =' 22,36,50,only ' />
345
+ <div line-highlight =' 22,36,50,only ' />
346
346
347
347
Note:
348
348
@@ -415,7 +415,7 @@ Update `HTML` to:
415
415
416
416
</html>
417
417
```
418
- <span line-highlight =' 23-24,28,only ' />
418
+ <div line-highlight =' 23-24,28,only ' />
419
419
420
420
TODO:
421
421
@@ -490,7 +490,7 @@ var template = can.stache.from("todomvc-template");
490
490
var frag = template ({todosPromise: Todo .getList ({})});
491
491
document .body .appendChild (frag);
492
492
```
493
- <span line-highlight =' 46-59,only ' />
493
+ <div line-highlight =' 46-59,only ' />
494
494
495
495
Update ` HTML ` to:
496
496
@@ -563,7 +563,7 @@ Update `HTML` to:
563
563
564
564
</html >
565
565
```
566
- <span line-highlight =' 11-16,18,22,only ' />
566
+ <div line-highlight =' 11-16,18,22,only ' />
567
567
568
568
## List todos
569
569
@@ -643,7 +643,7 @@ var template = can.stache.from("todomvc-template");
643
643
var frag = template ({todosPromise: Todo .getList ({})});
644
644
document .body .appendChild (frag);
645
645
```
646
- <span line-highlight =' 60-68,only ' />
646
+ <div line-highlight =' 60-68,only ' />
647
647
648
648
Update ` HTML ` to:
649
649
@@ -720,7 +720,7 @@ Update `HTML` to:
720
720
721
721
</html >
722
722
```
723
- <span line-highlight =' 18-32,43,only ' />
723
+ <div line-highlight =' 18-32,43,only ' />
724
724
725
725
726
726
## Edit todos
@@ -818,7 +818,7 @@ var template = can.stache.from("todomvc-template");
818
818
var frag = template ({todosPromise: Todo .getList ({})});
819
819
document .body .appendChild (frag);
820
820
```
821
- <span line-highlight =' 62-78,only ' />
821
+ <div line-highlight =' 62-78,only ' />
822
822
823
823
824
824
@@ -902,7 +902,7 @@ Update `HTML` to:
902
902
903
903
</html>
904
904
```
905
- <span line-highlight =' 23,26,29-32,only ' />
905
+ <div line-highlight =' 23,26,29-32,only ' />
906
906
907
907
## Routing
908
908
@@ -1020,7 +1020,7 @@ can.route.ready();
1020
1020
var frag = template (vm);
1021
1021
document .body .appendChild (frag);
1022
1022
```
1023
- <span line-highlight =' 87-109,only ' />
1023
+ <div line-highlight =' 87-109,only ' />
1024
1024
1025
1025
Update ` HTML ` to:
1026
1026
@@ -1104,7 +1104,7 @@ Update `HTML` to:
1104
1104
1105
1105
< / html>
1106
1106
` ` `
1107
- <span line-highlight='55-56,59-60,63-64,only'/>
1107
+ <div line-highlight='55-56,59-60,63-64,only'/>
1108
1108
1109
1109
1110
1110
## Check all and clear completed
@@ -1259,7 +1259,7 @@ can.route.ready();
1259
1259
var frag = template (vm);
1260
1260
document .body .appendChild (frag);
1261
1261
` ` `
1262
- <span line-highlight='40-57,128-135,only'/>
1262
+ <div line-highlight='40-57,128-135,only'/>
1263
1263
1264
1264
Update ` HTML ` to:
1265
1265
@@ -1346,4 +1346,4 @@ Update `HTML` to:
1346
1346
1347
1347
< / html>
1348
1348
` ` `
1349
- <span line-highlight='45-47,69-70,only'/>
1349
+ <div line-highlight='45-47,69-70,only'/>
0 commit comments