Skip to content

Commit 201b6c8

Browse files
committed
remove idle dependencies.
1 parent 4a6f094 commit 201b6c8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

package.json

-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
"postinstall": "node ./node_modules/vscode/bin/install"
3939
},
4040
"dependencies": {
41-
"connect-livereload": "^0.5.4",
4241
"csserror": "^2.0.2",
43-
"easy-livereload": "^1.2.0",
4442
"express": "^4.14.0",
4543
"gaze": "^1.1.1",
4644
"less": "^2.7.1",

sample/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
$.post('/api/update', function (result) {
104104
console.log('/api/update result:');
105105
console.log(result);
106-
updateElement(model.POST, type.SUCCESS, 'Register User Tom ' + (result.code === 100 ? 'success' : 'failed'));
106+
updateElement(model.POST, type.SUCCESS, 'Register User Tom ' + (result.code === 200 ? 'success' : 'failed'));
107107
})
108108
.fail(function () {
109109
updateElement(model.POST, type.FAILURE, 'HTTP-POST is failure');

0 commit comments

Comments
 (0)