You are reading a single comment by @Purple-Tentacle and its replies. Click here to read the full conversation.
  • Any ETA for the app loader change?

    Not yet. I'll probably just combine it with the minification changes by basically pulling in the Web IDE backend.

    I think the most sane solution is to just include it up the top of the source for now:

    Modules.addCached("graph",function(){exp­orts.drawAxes=function(b,c,a){function h(a){return e+m*(a-t)/x}function l(a){return f+g-g*(a-n)/u}var k=a.padx||0,d=a.pady||0,t=-k,w=c.length+­k-1,n=(void 0!==a.miny?a.miny:a.miny=c.reduce(functi­on(a,b){return Math.min(a,b)},c[0]))-d;c=(void 0!==a.maxy?a.maxy:a.maxy=c.reduce(functi­on(a,b){return Math.max(a,b)},c[0]))+d;a.gridy&&(d=a.gr­idy,n=d*Math.floor(n/d),c=d*Math.ceil(c/­d));var e=a.x||0,f=a.y||0,m=a.width||b.getWidth(­)-(e+1),g=a.height||b.getHeight()-(f+1);­a.axes&&(null!==a.ylabel&&
    (e+=6,m-=6),null!==a.xlabel&&(g-=6));a.t­itle&&(f+=6,g-=6);a.axes&&(b.drawLine(e,­f,e,f+g),b.drawLine(e,f+g,e+m,f+g));a.ti­tle&&(b.setFontAlign(0,-1),b.drawString(­a.title,e+m/2,f-6));var x=w-t,u=c-n;u||(u=1);if(a.gridx){b.setFo­ntAlign(0,-1,0);var v=a.gridx;for(d=Math.ceil((t+k)/v)*v;d<=­w-k;d+=v){var r=h(d),p=a.xlabel?a.xlabel(d):d;b.setPix­el(r,f+g-1);var q=b.stringWidth(p)/2;null!==a.xlabel&&r>­q&&b.getWidth()>r+q&&b.drawString(p,r,f+­g+2)}}if(a.gridy)for(b.setFontAlign(0,0,­1),d=n;d<=c;d+=a.gridy)k=l(d),
    p=a.ylabel?a.ylabel(d):d,b.setPixel(e+1,­k),q=b.stringWidth(p)/2,null!==a.ylabel&­&k>q&&b.getHeight()>k+q&&b.drawString(p,­e-5,k+1);b.setFontAlign(-1,-1,0);return{­x:e,y:f,w:m,h:g,getx:h,gety:l}};exports.­drawLine=function(b,c,a){a=a||{};a=expor­ts.drawAxes(b,c,a);var h=!0,l;for(l in c)h?b.moveTo(a.getx(l),a.gety(c[l])):b.l­ineTo(a.getx(l),a.gety(c[l])),h=!1;retur­n a};exports.drawBar=function(b,c,a){a=a||­{};a.padx=1;a=exports.drawAxes(b,c,a);fo­r(var h in c)b.fillRect(a.getx(h-.5)+1,a.gety(c[h])­,a.getx(h+
    .5)-1,a.gety(0));return a}});
    ... your code here
    
About