cljspad:ClojureScript代码游乐场-源码

上传者: 42133918 | 上传时间: 2021-01-28 22:15:41 | 文件大小: 105KB | 文件类型: ZIP
cljspad 为代码操场 例子 沙盒 cljspad在运行时利用 “ Bootstrapped编译器”为您的浏览器内部的代码评估提供沙盒环境。 沙盒包含一组可在环境中使用的通用库(例如,试剂,重新包装)。 沙盒环境已版本化。 对沙盒的更改(库版本的凹凸,其他库等)构成了新的沙盒版本。 这意味着cljspad沙箱的每个版本都包含打包的ClojureScript库的稳定的已知版本。 GitHub要点是针对沙盒版本保存的,这意味着您的要点永远不会随着cljspad的进展而中断。 您可以通过访问页面查看沙盒更改日志。 渲染到沙箱 通过按“运行”按钮评估代码 为了在右侧窗格中渲染某些内容(例如,React组件),已经为每个库提供了一个渲染功能: ( require '[sandbox.reagent :refer [render]]) ( defn my-component [] [ :div {} " Hello world " ]) ( render [my-component]) 实用功能 sandbox.user包含一些hepler函数: 注入CSS 如果您想为右

文件下载

资源详情

[{"title":"( 41 个子文件 105KB ) cljspad:ClojureScript代码游乐场-源码","children":[{"title":"cljspad-master","children":[{"title":".gitignore <span style='color:#111;'> 426B </span>","children":null,"spread":false},{"title":"deps.edn <span style='color:#111;'> 621B </span>","children":null,"spread":false},{"title":".clj-kondo","children":[{"title":"config.edn <span style='color:#111;'> 91B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"resources","children":[{"title":"public","children":[{"title":"mstile-150x150.png <span style='color:#111;'> 5.36KB </span>","children":null,"spread":false},{"title":"cljspad.manifest.edn <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"site.webmanifest <span style='color:#111;'> 426B </span>","children":null,"spread":false},{"title":"xterm.css <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"safari-pinned-tab.svg <span style='color:#111;'> 7.34KB </span>","children":null,"spread":false},{"title":"android-chrome-192x192.png <span style='color:#111;'> 8.39KB </span>","children":null,"spread":false},{"title":"favicon-32x32.png <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"android-chrome-512x512.png <span style='color:#111;'> 28.68KB </span>","children":null,"spread":false},{"title":"apple-touch-icon.png <span style='color:#111;'> 7.88KB </span>","children":null,"spread":false},{"title":"github.css <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"browserconfig.xml <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"favicon-16x16.png <span style='color:#111;'> 797B </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 14.73KB </span>","children":null,"spread":false},{"title":"style.css <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".github","children":[{"title":"workflows","children":[{"title":"clojure.yml <span style='color:#111;'> 524B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"shadow-cljs.edn <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 13.86KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"cljspad","children":[{"title":"right_pane.cljs <span style='color:#111;'> 17.42KB </span>","children":null,"spread":false},{"title":"embed.cljs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"manifest.cljc <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"editor.cljs <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false},{"title":"logging.cljs <span style='color:#111;'> 311B </span>","children":null,"spread":false},{"title":"repl.cljs <span style='color:#111;'> 10.63KB </span>","children":null,"spread":false},{"title":"util.cljs <span style='color:#111;'> 439B </span>","children":null,"spread":false},{"title":"env.cljs <span style='color:#111;'> 5.61KB </span>","children":null,"spread":false},{"title":"effects.cljs <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false},{"title":"core.cljs <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"scripts","children":[{"title":"fmtfix.sh <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"dev.sh <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"lint.sh <span style='color:#111;'> 186B </span>","children":null,"spread":false},{"title":"release.sh <span style='color:#111;'> 360B </span>","children":null,"spread":false}],"spread":true},{"title":"webpack.config.js <span style='color:#111;'> 677B </span>","children":null,"spread":false},{"title":"indentation.edn <span style='color:#111;'> 62B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 47.20KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明