Permalink
Browse files

made sourcecode easier to ready on the browser, removed useless slide…

…r change event
  • Loading branch information...
1 parent 8015550 commit 250a90d9f0f9e9a7c64c938bd0af29fb726f8dba Rico Chen committed Feb 10, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −1 app.js
  2. +0 −5 views/flot.jade
View
2 app.js
@@ -17,7 +17,7 @@ function gt() {
app.configure(function(){
app.set('views', __dirname + '/views');
app.set('view engine', 'jade');
- app.set('view options', {layout:false});
+ app.set('view options', {layout:false, pretty:true});
app.use(express.bodyParser());
app.use(express.methodOverride());
app.use(app.router);
View
@@ -37,11 +37,6 @@ block extra_js
slide: function(event, ui) {
$('#update_int_lbl').text(ui.value);
socket.emit('reqint', ui.value);
- },
- change: function(event, ui) {
- if(event.originalEvent) {
- socket.emit('reqint', ui.value);
- }
}
} );
});

0 comments on commit 250a90d

Please sign in to comment.