diff --git a/herosaver.js b/herosaver.js index 36eca26..516e09b 100644 --- a/herosaver.js +++ b/herosaver.js @@ -282,5 +282,5 @@ function inject_script(url, callback) { } inject_script("//code.jquery.com/jquery-3.3.1.min.js", function () { - inject_script("//cdnjs.cloudflare.com/ajax/libs/three.js/r83/three.js", function () { init() }) + inject_script("//cdnjs.cloudflare.com/ajax/libs/three.js/100/three.js", function () { init() }) }); diff --git a/herosaver.min.js b/herosaver.min.js index c3b19e2..8a4c489 100644 --- a/herosaver.min.js +++ b/herosaver.min.js @@ -1 +1 @@ -(function(r,l){"function"==typeof define&&define.amd?define([],l):"object"==typeof exports?module.exports=l():r.download=l()})(this,function(){return function l(a,e,k){function q(a){var h=a.split(/[:;,]/);a=h[1];var h=("base64"==h[2]?atob:decodeURIComponent)(h.pop()),d=h.length,b=0,c=new Uint8Array(d);for(b;bc.length&&(n=c.split("/").pop().split("?")[0],d.href=c,-1!==d.href.indexOf(c))){var p=new XMLHttpRequest;return p.open("GET",c,!0),p.responseType="blob",p.onload=function(a){l(a.target.response,n,"application/octet-stream")},setTimeout(function(){p.send()},0),p}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(a)){if(!(2096103.424").css({"margin-left":"20px","font-size":"1.4em",color:"rgba(255, 255, 255, 0.8)",cursor:"pointer"}).text("Export Figure");var stl_base=jQuery("").css({"margin-left":"20px","font-size":"1.4em",color:"rgba(255, 255, 255, 0.8)",cursor:"pointer"}).text("Export Figure + Base");var sjson=jQuery("").css({"margin-left":"20px","font-size":"1.4em",color:"rgba(255, 255, 255, 0.8)",cursor:"pointer"}).text("Save JSON");var ljson=jQuery("").attr({type:"file",id:"ljson"}).css({display:"none"}).text("Load JSON");var labeljson=jQuery("").css({"margin-left":"20px","font-size":"1.4em",color:"rgba(255, 255, 255, 0.8)",cursor:"pointer"}).text("Export Figure + Base");var sjson=jQuery("").css({"margin-left":"20px","font-size":"1.4em",color:"rgba(255, 255, 255, 0.8)",cursor:"pointer"}).text("Save JSON");var ljson=jQuery("").attr({type:"file",id:"ljson"}).css({display:"none"}).text("Load JSON");var labeljson=jQuery("