File tree Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1717 ]
1818 },
1919 "scripts" : {
20- "build" : " NODE_ENV=production browserify src/app.jsx --extension=.jsx | java -jar bin/compiler.jar > public/app.js" ,
20+ "build" : " NODE_ENV=production browserify src/app.jsx --extension=.jsx --extension=.es6 | java -jar bin/compiler.jar > public/app.js" ,
2121 "start" : " ecstatic -p 8000 public" ,
2222 "watch" : " watchify -d src/app.jsx --extension=.jsx --extension=.es6 -o public/app.js -dv" ,
2323 "test" : " jest"
Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
6+ < title > Template • TodoMVC</ title >
7+ < link rel ="stylesheet " href ="//rawgit.com/tastejs/todomvc-common/master/base.css ">
8+ < link rel ="stylesheet " href ="//rawgit.com/tastejs/todomvc-app-css/master/index.css ">
9+ </ head >
10+ < body >
11+ < div id ="app "> </ div >
12+ < footer class ="info ">
13+ < p > Double-click to edit a todo</ p >
14+ <!-- Remove the below line ↓ -->
15+ < p > Template by < a href ="http://sindresorhus.com "> Sindre Sorhus</ a > </ p >
16+ <!-- Change this out with your name and url ↓ -->
17+ < p > Created by < a href ="https://github.com/jcouyang "> Jichao Ouyang</ a > </ p >
18+ < p > Part of < a href ="http://todomvc.com "> TodoMVC</ a > </ p >
19+ </ footer >
20+ < script src ="app.js "> </ script >
21+ </ body >
22+ </ html >
Original file line number Diff line number Diff line change 1+ [{
2+ "text" : " Try React Most" ,
3+ "completed" : false ,
4+ "id" : 0
5+ },{
6+ "text" : " Give it a Star on Github" ,
7+ "completed" : false ,
8+ "id" : 1
9+ }]
You can’t perform that action at this time.
0 commit comments