Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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 | } |
-
Please register or login to post a comment