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