Skip to content

Commit

Permalink
Cut version 7.10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
viebel committed Feb 7, 2021
1 parent ae37500 commit a26d01d
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 18 deletions.
8 changes: 4 additions & 4 deletions dist/klipse_plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4104,7 +4104,7 @@ gadjett.core_fn.settings_BANG_.cljs$lang$applyTo=function(a){return this.cljs$co
gadjett.core_fn.add_event=function(a,b,c){return cljs.core.update.call(null,a,b,cljs.core.partial.call(null,gadjett.core_fn.add_event_and_filter,c))};gadjett.core_fn.record_function_call=function(a,b){cljs.core.swap_BANG_.call(null,gadjett.core_fn.history,gadjett.core_fn.add_event,a,(new Date).valueOf());return cljs.core.count.call(null,cljs.core.get.call(null,cljs.core.deref.call(null,gadjett.core_fn.history),a))<=cljs.core.cst$kw$max_DASH_function_DASH_calls.cljs$core$IFn$_invoke$arity$1(gadjett.core_fn.settings)};
gadjett.core_fn.sort_history=function(a){return cljs.core.sort_by.call(null,cljs.core.second,gadjett.collections.map_object.call(null,cljs.core.count,a))};gadjett.core_fn.the_history=function(a){switch(arguments.length){case 1:return gadjett.core_fn.the_history.cljs$core$IFn$_invoke$arity$1(arguments[0]);case 0:return gadjett.core_fn.the_history.cljs$core$IFn$_invoke$arity$0();default:throw Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(""));}};
gadjett.core_fn.the_history.cljs$core$IFn$_invoke$arity$1=function(a){return cljs.core.get.call(null,cljs.core.deref.call(null,gadjett.core_fn.history),a)};gadjett.core_fn.the_history.cljs$core$IFn$_invoke$arity$0=function(){return gadjett.core_fn.sort_history.call(null,cljs.core.deref.call(null,gadjett.core_fn.history))};gadjett.core_fn.the_history.cljs$lang$maxFixedArity=1;
gadjett.core_fn.function_call_err_msg=function(a,b){return[cljs.core.str.cljs$core$IFn$_invoke$arity$1(a)," was called too much over the last ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.cst$kw$timeslot_DASH_function_DASH_calls_DASH_msec.cljs$core$IFn$_invoke$arity$1(gadjett.core_fn.settings))," msec: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(a)].join("")};var klipse={core:{}};cljs.core.enable_console_print_BANG_.call(null);gadjett.core_fn.settings_BANG_.call(null,cljs.core.cst$kw$max_DASH_function_DASH_calls,100);klipse.core.version="7.10.5";console.info("Klipse ",klipse.core.version);console.info("Clojurescript ",cljs.core._STAR_clojurescript_version_STAR_);goog.labs={};goog.labs.userAgent={};goog.labs.userAgent.util={};goog.labs.userAgent.util.getNativeUserAgentString_=function(){var a=goog.labs.userAgent.util.getNavigator_();return a&&(a=a.userAgent)?a:""};goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator};goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_();goog.labs.userAgent.util.setUserAgent=function(a){goog.labs.userAgent.util.userAgent_=a||goog.labs.userAgent.util.getNativeUserAgentString_()};
gadjett.core_fn.function_call_err_msg=function(a,b){return[cljs.core.str.cljs$core$IFn$_invoke$arity$1(a)," was called too much over the last ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.cst$kw$timeslot_DASH_function_DASH_calls_DASH_msec.cljs$core$IFn$_invoke$arity$1(gadjett.core_fn.settings))," msec: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(a)].join("")};var klipse={core:{}};cljs.core.enable_console_print_BANG_.call(null);gadjett.core_fn.settings_BANG_.call(null,cljs.core.cst$kw$max_DASH_function_DASH_calls,100);klipse.core.version="7.10.6";console.info("Klipse ",klipse.core.version);console.info("Clojurescript ",cljs.core._STAR_clojurescript_version_STAR_);goog.labs={};goog.labs.userAgent={};goog.labs.userAgent.util={};goog.labs.userAgent.util.getNativeUserAgentString_=function(){var a=goog.labs.userAgent.util.getNavigator_();return a&&(a=a.userAgent)?a:""};goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator};goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_();goog.labs.userAgent.util.setUserAgent=function(a){goog.labs.userAgent.util.userAgent_=a||goog.labs.userAgent.util.getNativeUserAgentString_()};
goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_};goog.labs.userAgent.util.matchUserAgent=function(a){var b=goog.labs.userAgent.util.getUserAgent();return goog.string.contains(b,a)};goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(a){var b=goog.labs.userAgent.util.getUserAgent();return goog.string.caseInsensitiveContains(b,a)};
goog.labs.userAgent.util.extractVersionTuples=function(a){for(var b=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};goog.labs.userAgent.browser={};goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")};goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")};goog.labs.userAgent.browser.matchEdge_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")};goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")};
goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdge_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))};goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")};
Expand Down Expand Up @@ -16263,10 +16263,10 @@ cljs.core.cst$kw$comment_DASH_str,"; "],null);klipse.common.registry.register_mo
klipse.lang.python.builtin_read=function(a){if(null==function(){var a=Sk;return applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"builtinFiles")?a.builtinFiles:null}()||null==function(){var a=Sk;a=applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"builtinFiles")?a.builtinFiles:null;return applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"files")?a.files:null}()[a])throw["File not found: '",cljs.core.str.cljs$core$IFn$_invoke$arity$1(a),"'"].join("");
return function(){var a=Sk;a=applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"builtinFiles")?a.builtinFiles:null;return applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"files")?a.files:null}()[a]};klipse.lang.python.init=klipse.utils.runonce.call(null,function(){var a=Sk;a=null!=a?a:{};a.TurtleGraphics={};return a});
klipse.lang.python.str_eval_async=function(a,b){b=null!=b&&(b.cljs$lang$protocol_mask$partition0$&64||cljs.core.PROTOCOL_SENTINEL===b.cljs$core$ISeq$)?cljs.core.apply.call(null,cljs.core.hash_map,b):b;var c=cljs.core.get.call(null,b,cljs.core.cst$kw$container_DASH_id);klipse.lang.python.init.call(null);var d=cljs.core.async.chan.call(null);b=Sk;(applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,b,"configure")?b.configure:null).call(b,{output:function(a){return cljs.core.async.put_BANG_.call(null,
d,a)},read:klipse.lang.python.builtin_read});(function(){var b=function(){var a=Sk;return applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"misceval")?a.misceval:null}();return(applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,b,"asyncToPromise")?b.asyncToPromise:null).call(b,function(){cljs.core.async.put_BANG_.call(null,d,"Output:\n");var b=Sk;b=null!=b?b:{};var e=b.TurtleGraphics;null!=e?b=e:(e={},b=b.TurtleGraphics=e);b.target=c;b=Sk;return(applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,
d,a)},read:klipse.lang.python.builtin_read,retainglobals:!0});(function(){var b=function(){var a=Sk;return applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"misceval")?a.misceval:null}();return(applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,b,"asyncToPromise")?b.asyncToPromise:null).call(b,function(){cljs.core.async.put_BANG_.call(null,d,"Output:\n");var b=Sk;b=null!=b?b:{};var e=b.TurtleGraphics;null!=e?b=e:(e={},b=b.TurtleGraphics=e);b.target=c;b=Sk;return(applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,
b,"importMainWithBody")?b.importMainWithBody:null).call(b,"\x3cstdin\x3e",!1,a,!0)})})().then(function(a){a=console;var b=applied_science.js_interop.impl.contains_QMARK__STAR_.call(null,a,"info")?a.info:null;return b.call(a,"success to eval skulpt: ")},function(a){return cljs.core.async.put_BANG_.call(null,d,["error: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(a)].join(""))});return d};
klipse.lang.python.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,"python",cljs.core.cst$kw$eval_DASH_fn,klipse.lang.python.str_eval_async,cljs.core.cst$kw$beautify_QMARK_,!1,cljs.core.cst$kw$external_DASH_scripts,new cljs.core.PersistentVector(null,3,5,cljs.core.PersistentVector.EMPTY_NODE,[klipse.common.registry.codemirror_mode_src.call(null,"python"),klipse.common.registry.scripts_src.call(null,"skulpt.min.js"),
klipse.common.registry.scripts_src.call(null,"skulpt-stdlib.js")],null),cljs.core.cst$kw$comment_DASH_str,"#"],null);klipse.common.registry.register_mode.call(null,"eval-python-client","selector_eval_python_client",klipse.lang.python.opts);klipse.lang.js_compile={};
klipse.lang.python.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,"python",cljs.core.cst$kw$eval_DASH_fn,klipse.lang.python.str_eval_async,cljs.core.cst$kw$beautify_QMARK_,!1,cljs.core.cst$kw$external_DASH_scripts,new cljs.core.PersistentVector(null,3,5,cljs.core.PersistentVector.EMPTY_NODE,[klipse.common.registry.codemirror_mode_src.call(null,"python"),klipse.common.registry.scripts_src.call(null,"skulpt.0.10.0.min.js"),
klipse.common.registry.scripts_src.call(null,"skulpt-stdlib.0.10.0.js")],null),cljs.core.cst$kw$comment_DASH_str,"#"],null);klipse.common.registry.register_mode.call(null,"eval-python-client","selector_eval_python_client",klipse.lang.python.opts);klipse.lang.js_compile={};
klipse.lang.js_compile.advanced_compile=function(a){a=cljs.core.clj__GT_js.call(null,new cljs.core.PersistentArrayMap(null,2,[cljs.core.cst$kw$jsCode,new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.PersistentArrayMap(null,1,[cljs.core.cst$kw$src,a],null)],null),cljs.core.cst$kw$compilationLevel,"ADVANCED"],null));console.log(a);a=cljs.core.js__GT_clj.call(null,compile(a),cljs.core.cst$kw$keywordize_DASH_keys,!0);a=null!=a&&(a.cljs$lang$protocol_mask$partition0$&64||
cljs.core.PROTOCOL_SENTINEL===a.cljs$core$ISeq$)?cljs.core.apply.call(null,cljs.core.hash_map,a):a;var b=cljs.core.get.call(null,a,cljs.core.cst$kw$compiledCode),c=cljs.core.get.call(null,a,cljs.core.cst$kw$errors);cljs.core.get.call(null,a,cljs.core.cst$kw$warnings);return cljs.core.seq.call(null,c)?["//errors during compilation:\n",cljs.core.str.cljs$core$IFn$_invoke$arity$1(JSON.stringify(cljs.core.clj__GT_js.call(null,c)))].join(""):b};
klipse.lang.js_compile.str_compile_js_async=function(a,b){var c=cljs.core.async.chan.call(null),d=cljs.core.async.chan.call(null,1);cljs.core.async.impl.dispatch.run.call(null,function(){var b=function(){var b=function(b){var d=b[1];if(1===d)return cljs.core.async.impl.ioc_helpers.put_BANG_.call(null,b,2,c,"//compiling...\n");if(2===d){d=b[2];var e=cljs.core.async.timeout.call(null,0);b[7]=d;return cljs.core.async.impl.ioc_helpers.take_BANG_.call(null,b,3,e)}return 3===d?(d=b[2],e=klipse.lang.js_compile.advanced_compile.call(null,
Expand Down
Loading

0 comments on commit a26d01d

Please sign in to comment.