@@ -369,7 +369,7 @@ function demo() {
369
369
var hideTables = function ( ) {
370
370
$ ( "#tblFormats" ) . hide ( ) ;
371
371
$ ( "#tblSchedule" ) . hide ( ) ;
372
- model . resetSchedule ( )
372
+ model . resetSchedule ( ) ;
373
373
} ;
374
374
tblFormatsView . timerEvent = setTimeout ( hideTables , timeout ) ;
375
375
} else {
@@ -824,7 +824,7 @@ function demo() {
824
824
row += rowId ;
825
825
row += "\">" ;
826
826
for ( var c in scheduleCommands ) {
827
- row += "<li><a>" + c + "</a></li>"
827
+ row += "<li><a>" + c + "</a></li>" ;
828
828
}
829
829
row += "</ul></div></td>" ;
830
830
row += "<td class=\"mdl-data-table__cell--non-numeric\"" ;
@@ -893,22 +893,6 @@ function demo() {
893
893
model . addReorderedVar ( row ) ;
894
894
} ) ;
895
895
} ) ;
896
-
897
- $ ( '.dropdown-submenu a' ) . on ( "mouseover" , function ( e ) {
898
- $ ( this ) . next ( 'ul' ) . show ( ) ;
899
- } ) ;
900
-
901
- // hardcoded currently?
902
- $ ( '.CPU' ) . on ( "mouseleave" , function ( e ) {
903
- $ ( this ) . find ( 'ul' ) . hide ( ) ;
904
- } ) ;
905
- $ ( '.GPU' ) . on ( "mouseleave" , function ( e ) {
906
- $ ( this ) . find ( 'ul' ) . hide ( ) ;
907
- } ) ;
908
-
909
- $ ( "#btnCPU" ) . click ( function ( ) {
910
-
911
- } ) ;
912
896
}
913
897
} ;
914
898
@@ -1020,13 +1004,13 @@ function demo() {
1020
1004
command += param + "," ;
1021
1005
}
1022
1006
1023
- command = command . substring ( 0 , command . length - 1 )
1007
+ command = command . substring ( 0 , command . length - 1 ) ;
1024
1008
command += ")" ;
1025
1009
}
1026
1010
1027
1011
var req = $ . ajax ( {
1028
1012
type : "POST" ,
1029
- url : "http://localhost:80 " ,
1013
+ url : "http://tensor-compiler-online.csail.mit.edu " ,
1030
1014
data : escape ( command ) ,
1031
1015
async : true ,
1032
1016
cache : false ,
@@ -1104,7 +1088,7 @@ function demo() {
1104
1088
}
1105
1089
}
1106
1090
return "" ;
1107
- } ;
1091
+ }
1108
1092
1109
1093
var demo = getURLParam ( "demo" ) ;
1110
1094
if ( ! ( demo in examples ) ) {
0 commit comments