Skip to content

Commit

Permalink
Merge branch 'gh-pages'
Browse files Browse the repository at this point in the history
  • Loading branch information
miemiedev committed Oct 12, 2013
2 parents d9dca33 + b5ccb6b commit a3c5926
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h2 >一、表选项</h2>
<td>AJAX提交方式。</td>
</tr>
<tr>
<td>ache</td>
<td>cache</td>
<td><em>false</em>, true</td>
<td>AJAX缓存。</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion examples/examples1.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@


var fixed2 = function(val){
if(!val){
if(typeof val != 'number'){
return '';
}
return val.toFixed(2);
Expand Down
1 change: 0 additions & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
</style>
<!--[if lt IE 9]>
<script src="js/vendor/html5shiv.js"></script>
<script src="js/vendor/css3-mediaqueries.js"></script>
<![endif]-->
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions examples/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ $(document).ready(function(){
{ title:'涨跌幅', name:'DAYCHANGERATE' ,width:60, align:'right',renderer: highliht},
{ title:'涨跌额', name:'DAYCHANGE' ,width:60, align:'right', renderer: highliht},
{ title:'振幅', name:'AMPLITUDE' ,width:60, align:'right', renderer: fixed2percentage},
{ title:'成交量(手)', name:'TURNOVERVOL' ,width:100, align:'right', renderer: function(val){
{ title:'成交量(手)', name:'TURNOVERVOL' ,width:90, align:'right', renderer: function(val){
return (val / 100).toFixed(2);
}},
{ title:'成交额(万)', name:'TURNOVERVAL' ,width:100, align:'right', renderer: function(val){
{ title:'成交额(万)', name:'TURNOVERVAL' ,width:90, align:'right', renderer: function(val){
return (val / 10000).toFixed(2);
}},
{ title:'昨收盘', name:'PREVCLOSINGPRICE' ,width:60, align:'right', renderer: fixed2},
Expand Down

0 comments on commit a3c5926

Please sign in to comment.