diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-06-23 21:40:07 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-06-23 21:40:07 -0700 |
commit | 6a0eae0f483fe49675c81c613c1ec3ee8696745c (patch) | |
tree | 0cdda81637de5e74460cfc184203b17a8a795070 /demos | |
parent | e2777762c09f22d78c01da8085a3bc44c938b1ca (diff) |
update python demo
Diffstat (limited to 'demos')
-rw-r--r-- | demos/python.cc.js | 2 | ||||
-rw-r--r-- | demos/python.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/python.cc.js b/demos/python.cc.js index 0260996a..50ac3de5 100644 --- a/demos/python.cc.js +++ b/demos/python.cc.js @@ -69,7 +69,7 @@ var EX=function DX(){if(!DX.a)DX.a=s([0],0,n,"i32");return DX.a},GX=function FX( 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,8195,0,8194,0,8194,0,8194,0,8194,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,24577,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,55304,0,55304,0,55304,0,55304,0,55304,0,55304,0,55304,0,55304,0,55304,0,55304,0,49156,0,49156,0,49156,0,49156,0,49156, 0,49156,0,49156,0,54536,0,54536,0,54536,0,54536,0,54536,0,54536,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,50440,0,49156,0,49156,0,49156,0,49156,0,49156,0,49156,0,54792,0,54792,0,54792,0,54792,0,54792,0,54792,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,50696,0,49156,0,49156,0,49156, 0,49156,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0],0,n,"i16")+256],0,n,"void*");return FX.a};function HX(d,f){d--;do{d++;var b=u[d];if(b==f)return d}while(b);return 0}function IX(d,f){d=ra(d);f=ra(f);return f.indexOf("r")>=0?kzb(d):f.indexOf("w")>=0?uX(d):ka(!1,"fopen with odd params: "+f)}function JX(d){return d!==Infinity&&d!==-Infinity}function KX(d,f){sX(f,d,Ba(d));LX("\n".charCodeAt(0),f)}function LX(d,f){if(!Module.e)Module.e=oa(1);u[Module.e]=d;sX(f,Module.e,1)} +0,0,0,0,0,0,0,0,0,0,0,0],0,n,"i16")+256],0,n,"void*");return FX.a};function HX(d,f){d--;do{d++;var b=u[d];if(b==f)return d}while(b);return 0}function IX(d,f){d=ra(d);f=ra(f);return f.indexOf("r")>=0?kzb(d):f.indexOf("w")>=0?uX(d):ka(!1,"fopen with odd params: "+f)}function JX(d){return d!==Infinity&&d!==-Infinity}function KX(d,f){sX(f,d,Ba(d))}function LX(d,f){if(!Module.e)Module.e=oa(1);u[Module.e]=d;sX(f,Module.e,1)} function MX(d,f,b){for(var c=0;c<b;c++){var e=u[d+c],g=u[f+c];if(e!=g)return e>g?1:-1}return 0}function NX(d,f,b){if(b!==0){var c=oa(b);OX(c,f,b);OX(d,c,b)}}function OX(d,f,b){for(var c=0;c<b;c++)u[d+c]=u[f+c],v[d+c]=v[f+c]}function PX(d,f,b){for(var f=D(f),c=0;c<b;c++){if(u[d]==f)return d;d++}return 0}function QX(){var d=arguments[0],f=Array.prototype.slice.call(arguments,1),f=CX.apply(ca,f);sX(d,f,Ba(f))}function RX(d,f,b){for(var c=!1,e,g=0;g<b;g++)e=c?0:u[f+g],u[d+g]=e,c=c||u[f+g]==0} function SX(d){return d>="A".charCodeAt(0)&&d<="Z".charCodeAt(0)?d-"A".charCodeAt(0)+"a".charCodeAt(0):d}function TX(d,f){return d<0===f<0?d:-d}function lzb(){Fa(ra(CX.apply(ca,arguments)))}var UX=Math.pow,mzb=Math.atan2,VX=Math.log,nzb=Math.cos,ozb=Math.sin;function WX(d){return d===Infinity||d===-Infinity}var XX=Math.abs,YX=Math.floor;function ZX(d,f){var b=d+ra(d).length;do{if(u[b]==f)return b;b--}while(b>=d);return 0}function $X(d){(d=tX[d])&&d.print&&Fa(ca)} function pzb(d,f,b){d=tX[d];b===1?f+=d.position:b===2&&(f+=d.data.length);d.position=f;return d.b=0}function aY(d){if(!Module.c)Module.c=oa(1);return vX(d,Module.c,1)===0?-1:u[Module.c]}function bY(d,f,b){var c=tX[b];if(c.f)return vX(b,d,1*f);for(var e=0;e<f;e++){if(c.position+1>c.data.length)return c.b=1,e;vX(b,d,1);d+=1}return f}function cY(d,f){if(!f)return 0;var b=oa(f);d&&OX(b,d,f);return b} diff --git a/demos/python.html b/demos/python.html index 16d784aa..f175f081 100644 --- a/demos/python.html +++ b/demos/python.html @@ -72,7 +72,7 @@ } if (printed) { - element.value = element.value + lines.join('\n'); + element.value = element.value + lines.join('\n') + '\n'; // scroll down var len = element.textLength; element.setSelectionRange(len-1, len); |