Skip to content

Commit

Permalink
cut version 7.11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
viebel committed Jan 29, 2022
1 parent aaac082 commit c726b82
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions dist/klipse_plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -16280,12 +16280,12 @@ a;b[1]=1;return b},d=function(a){for(;;){a:try{for(;;){var c=b.call(null,a);if(!
arguments.length);};a.cljs$core$IFn$_invoke$arity$0=c;a.cljs$core$IFn$_invoke$arity$1=d;return a}()}(),d=function(){var a=c.call(null);a[6]=b;return a}();return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,d)});return b};
klipse.lang.pyodide.eval_python=function(a,b){var c=cljs.core.async.chan.call(null),d=function(a){return cljs.core.async.put_BANG_.call(null,c,a)},e=cljs.core.async.chan.call(null,1);cljs.core.async.impl.dispatch.run.call(null,function(){var b=function(){var b=function(b){var e=b[1];if(1===e)return e=klipse.lang.pyodide.ensure_loaded_BANG_.call(null,c),cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,b,2,e);if(2===e)return b[7]=b[2],b[2]=null,b[1]=5,cljs.core.cst$kw$recur;if(3===e)return cljs.core.async.impl.ioc_helpers.return_chan.call(null,
b,b[2]);if(4===e)return e=cljs.core.str.cljs$core$IFn$_invoke$arity$1(b[2]),e=cljs.core.async.put_BANG_.call(null,c,e),b[2]=e,cljs.core.async.impl.ioc_helpers.process_exception.call(null,b),cljs.core.cst$kw$recur;if(5===e)return cljs.core.async.impl.ioc_helpers.add_exception_frame.call(null,b,4,cljs.core.cst$kw$default,null,3),e=applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,pyodide,"runPythonAsync"),b[1]=e?6:7,cljs.core.cst$kw$recur;if(6===e)return b[2]=pyodide.runPythonAsync,b[1]=
8,cljs.core.cst$kw$recur;if(7===e)return b[2]=null,b[1]=8,cljs.core.cst$kw$recur;if(8===e){e=b[2].call(pyodide,a,d,d);var f=function(){return function(a){cljs.core.async.put_BANG_.call(null,c,"Output:\n");null!=a&&d.call(null,a);cljs.core.async.put_BANG_.call(null,c,["\n",cljs.core.str.cljs$core$IFn$_invoke$arity$1(function(){var a=pyodide;a=applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"globals")?a.globals:null;a=applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,
8,cljs.core.cst$kw$recur;if(7===e)return b[2]=null,b[1]=8,cljs.core.cst$kw$recur;if(8===e){e=b[2].call(pyodide,a,d,d);var f=function(){return function(a){cljs.core.async.put_BANG_.call(null,c,"\nOutput:\n");null!=a&&d.call(null,a);cljs.core.async.put_BANG_.call(null,c,["\n",cljs.core.str.cljs$core$IFn$_invoke$arity$1(function(){var a=pyodide;a=applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"globals")?a.globals:null;a=applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,
a,"string_out")?a.string_out:null;return(applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"getvalue")?a.getvalue:null).call(a)}())].join(""));a=pyodide;return(applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"runPython")?a.runPython:null).call(a," string_out \x3d io.StringIO()")}}();f=e.then(f);var g=e.catch(d);b[8]=f;b[9]=g;b[2]=e;cljs.core.async.impl.ioc_helpers.process_exception.call(null,b);return cljs.core.cst$kw$recur}return null};return function(){var a=null,
c=function(){var b=[null,null,null,null,null,null,null,null,null,null];b[0]=a;b[1]=1;return b},d=function(a){for(;;){a:try{for(;;){var c=b.call(null,a);if(!cljs.core.keyword_identical_QMARK_.call(null,c,cljs.core.cst$kw$recur)){var d=c;break a}}}catch(r){if(r instanceof Object)a[5]=r,cljs.core.async.impl.ioc_helpers.process_exception.call(null,a),d=cljs.core.cst$kw$recur;else throw r;}if(!cljs.core.keyword_identical_QMARK_.call(null,d,cljs.core.cst$kw$recur))return d}};a=function(a){switch(arguments.length){case 0:return c.call(this);
case 1:return d.call(this,a)}throw Error("Invalid arity: "+arguments.length);};a.cljs$core$IFn$_invoke$arity$0=c;a.cljs$core$IFn$_invoke$arity$1=d;return a}()}(),g=function(){var a=b.call(null);a[6]=e;return a}();return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,g)});return c};
klipse.lang.pyodide.opts=new cljs.core.PersistentArrayMap(null,5,[cljs.core.cst$kw$editor_DASH_in_DASH_mode,"python",cljs.core.cst$kw$editor_DASH_out_DASH_mode,"html",cljs.core.cst$kw$eval_DASH_fn,klipse.lang.pyodide.eval_python,cljs.core.cst$kw$external_DASH_scripts,new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[klipse.common.registry.codemirror_mode_src.call(null,"python"),"https://cdn.jsdelivr.net/pyodide/v0.17.0/full/pyodide.js"],null),cljs.core.cst$kw$comment_DASH_str,
"#"],null);klipse.common.registry.register_mode.call(null,"pyodide","selector_pyodide",klipse.lang.pyodide.opts);klipse.lang.reagent={};if("undefined"===typeof klipse||"undefined"===typeof klipse.lang||"undefined"===typeof klipse.lang.reagent||"undefined"===typeof klipse.lang.reagent.initialized)klipse.lang.reagent.initialized=cljs.core.atom.call(null,!1);
klipse.lang.pyodide.opts=new cljs.core.PersistentArrayMap(null,6,[cljs.core.cst$kw$editor_DASH_in_DASH_mode,"python",cljs.core.cst$kw$editor_DASH_out_DASH_mode,"html",cljs.core.cst$kw$eval_DASH_fn,klipse.lang.pyodide.eval_python,cljs.core.cst$kw$beautify_QMARK_,!1,cljs.core.cst$kw$external_DASH_scripts,new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[klipse.common.registry.codemirror_mode_src.call(null,"python"),"https://cdn.jsdelivr.net/pyodide/v0.17.0/full/pyodide.js"],
null),cljs.core.cst$kw$comment_DASH_str,"#"],null);klipse.common.registry.register_mode.call(null,"pyodide","selector_pyodide",klipse.lang.pyodide.opts);klipse.lang.reagent={};if("undefined"===typeof klipse||"undefined"===typeof klipse.lang||"undefined"===typeof klipse.lang.reagent||"undefined"===typeof klipse.lang.reagent.initialized)klipse.lang.reagent.initialized=cljs.core.atom.call(null,!1);
klipse.lang.reagent.init_reagent_BANG_=function(a){var b=cljs.core.async.chan.call(null,1);cljs.core.async.impl.dispatch.run.call(null,function(){var c=function(){var b=function(b){var c=b[1];if(1===c)return c=cljs.core.deref.call(null,klipse.lang.reagent.initialized),cljs.core.truth_(c)?b[1]=2:b[1]=3,cljs.core.cst$kw$recur;if(2===c)return b[2]=null,b[1]=4,cljs.core.cst$kw$recur;if(3===c){c=cljs.core.reset_BANG_.call(null,klipse.lang.reagent.initialized,!0);var d=klipse_clj.lang.clojure.str_eval_async.call(null,
"(require 'reagent.dom)",a);b[7]=c;return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,b,5,d)}return 4===c?cljs.core.async.impl.ioc_helpers.return_chan.call(null,b,b[2]):5===c?(b[2]=b[2],b[1]=4,cljs.core.cst$kw$recur):null};return function(){var a=null,c=function(){var b=[null,null,null,null,null,null,null,null];b[0]=a;b[1]=1;return b},d=function(a){for(;;){a:try{for(;;){var c=b.call(null,a);if(!cljs.core.keyword_identical_QMARK_.call(null,c,cljs.core.cst$kw$recur)){var d=c;break a}}}catch(p){if(p instanceof
Object)a[5]=p,cljs.core.async.impl.ioc_helpers.process_exception.call(null,a),d=cljs.core.cst$kw$recur;else throw p;}if(!cljs.core.keyword_identical_QMARK_.call(null,d,cljs.core.cst$kw$recur))return d}};a=function(a){switch(arguments.length){case 0:return c.call(this);case 1:return d.call(this,a)}throw Error("Invalid arity: "+arguments.length);};a.cljs$core$IFn$_invoke$arity$0=c;a.cljs$core$IFn$_invoke$arity$1=d;return a}()}(),d=function(){var a=c.call(null);a[6]=b;return a}();return cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped.call(null,
Expand Down
Loading

0 comments on commit c726b82

Please sign in to comment.