Authored by xuhongyun

build

@@ -158,7 +158,7 @@ Controller.prototype.client=function(res,views,model,clientmodel){ @@ -158,7 +158,7 @@ Controller.prototype.client=function(res,views,model,clientmodel){
158 src="/static"; 158 src="/static";
159 // } 159 // }
160 var script=['<script type="text/javascript" src="'+src+'/'+clientmodel+'/libs.js"></script>', 160 var script=['<script type="text/javascript" src="'+src+'/'+clientmodel+'/libs.js"></script>',
161 - '<script type="text/javascript" src="'+src+'/'+clientmodel+'/'+ views+'.js"></script>']; 161 + '<script type="text/javascript" src="'+src+'/'+clientmodel+'/'+ views+'.js?yh_version=' + Date.parse(new Date()) + '"></script>'];
162 res.send(html+ViewModel+script.join('')); 162 res.send(html+ViewModel+script.join(''));
163 } 163 }
164 } 164 }