Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…r change event
  • Loading branch information...
commit 250a90d9f0f9e9a7c64c938bd0af29fb726f8dba 1 parent 8015550
Rico Chen authored

Showing 2 changed files with 1 addition and 6 deletions. Show diff stats Hide diff stats

  1. +1 1  app.js
  2. +0 5 views/flot.jade
2  app.js
@@ -17,7 +17,7 @@ function gt() {
17 17 app.configure(function(){
18 18 app.set('views', __dirname + '/views');
19 19 app.set('view engine', 'jade');
20   - app.set('view options', {layout:false});
  20 + app.set('view options', {layout:false, pretty:true});
21 21 app.use(express.bodyParser());
22 22 app.use(express.methodOverride());
23 23 app.use(app.router);
5 views/flot.jade
@@ -37,11 +37,6 @@ block extra_js
37 37 slide: function(event, ui) {
38 38 $('#update_int_lbl').text(ui.value);
39 39 socket.emit('reqint', ui.value);
40   - },
41   - change: function(event, ui) {
42   - if(event.originalEvent) {
43   - socket.emit('reqint', ui.value);
44   - }
45 40 }
46 41 } );
47 42 });

0 comments on commit 250a90d

Please sign in to comment.
Something went wrong with that request. Please try again.