TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A Minimal ClojureScript Project

6 点作者 ithayer超过 12 年前

2 条评论

ilikedata超过 12 年前
I'm interested in using clojurescript and your project is a nice entry point for real world usage.<p>One of the concerns I've had with clojurescript is the filesize of the generated js. Are there any techniques for reducing the filesize of the generated js? (I'm aware that closure compiler advanced mode is used). Clojurescript projects I've looked at seem to compile to a minimum filesize of ~70k (uncompressed). Using closure compiler advanced mode I'd like a bare bones hello world project to compile to something closer to alert("Hello World").<p>I understand yours includes jayq so not referring specifically to yours, however ideally I'd still like to see it compiled out to something along the lines of:<p>$(document).ready(function(){$("#btn").click(function() { alert("Hi!");});});
评论 #4597674 未加载
darrickwiebe超过 12 年前
Under lein 2, the "lein run" task fails with the following error:<p>Exception in thread "main" java.lang.ClassNotFoundException: clojurescript-ohpointone.core<p>I installed the stable release of leiningen and it works fine.