Open lvxiaomu opened 7 years ago
Yes, just make sure you change the appropriate settings in settings.js (in BIMvie.ws):
successCallback(new Date().getTime());
or with a fixed version number.getVersion, just add a version number for the loaded file.
myRequest.open("GET", Global.baseDir + "plugin.version", true);
this line of code will launch the following request
Request URL:http://localhost:8080/bimvie.ws-bimviews-0.0.57/plugin.version
Request Method:GET
Status Code:404 Not Found
Remote Address:127.0.0.1:8080
I can't find the plugin.version file in the local path.
That file does not exist, that's why you have to replace the code in the method with either:
successCallback("123");
OR
successCallback((new Date().getTime()));
<script>
// https://github.com/rgrove/lazyload
function l(b) {
var a = m[b], c, f;
if (a)
c = a.callback,
f = a.urls,
f.shift(),
h = 0,
f.length || (c && c.call(a.context, a.obj),
m[b] = null ,
n[b].length && j(b))
}
.....
</script>
the last time, in this part of the code f.length || (c && c.call(a.context, a.obj),
c.call is undefined, so it will be wrong
Hi ,
bimvie.ws and BIMserver can be installed on different machines ?