Re: [ClojureScript] Re: What is the up to date summary of cljs macro definition/usage as of 2850?

2015-02-23 Thread Ivan L
I use cljx so they start out in common cljx file so its simply the same namespace. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe

Re: [ClojureScript] Vim + Fully functioning REPL + Auto reloading

2015-02-23 Thread David Nolen
There are still changes that need to propagate to Piggieback. And regardless of Piggieback, currently a lot of REPLs unnecessarily do things in slightly different ways (some of these, but not all, attributable to the fact that previously Piggieback could *not* reuse the existing REPL loop and had

[ClojureScript] Advice on Om webapp namespaces?

2015-02-23 Thread Alan MacDougall
tl;dr I want to restructure https://github.com/amacdougall/alpha-counter/blob/master/src/alpha_counter/core.cljs to separate views and logic, but the views refer to functions and data which do not belong in the same namespace as views. If the views namespace requires core, and the core

[ClojureScript] Re: Vim + Fully functioning REPL + Auto reloading

2015-02-23 Thread Alan MacDougall
On Monday, February 23, 2015 at 8:44:06 AM UTC-6, Tristan Strange wrote: what's the simplest means of configuring a project that allows me to both: - Evaluate expressions from Vim to a browser based REPL - Have figwheel style reloading files. I recommend using Figwheel's REPL within a screen

Re: [ClojureScript] Advice on Om webapp namespaces?

2015-02-23 Thread Colin Yates
If it helps, I have a 'state' namespace with the global state and some global cursors and then a separate .view.X namespace for each 'page'. Each page has a consistent API including 'visible?' and 'id' which a main namespace bootstraps. It bootstraps each page by checking if it is visible? and if

[ClojureScript] cljs.nodejs namespace is undefined

2015-02-23 Thread Christopher Bui
Hi, I'm trying to use clojurescript with node.js repl. I have cljs 2913 and piggieback 0.1.6-SNAPSHOT. When I try to evaluate my namespace, I'm getting this error: ExceptionInfo TypeError: Cannot read property 'require' of undefined Basically, the namespace cljs.nodejs seems to be nil and

[ClojureScript] SyntaxError: test for equality (==) mistyped as assignment (=)?

2015-02-23 Thread Eduard Bondarenko
I'm trying to write a plugin for showtime/movian https://movian.tv/ using clojurescript. During plugin loading I see error in subject. JS [ERROR]: file:///home/eduard/pet/showtime_brbto/javascripts/fsto.js:65 SyntaxError: test for equality (==) mistyped as assignment (=)? JS

Re: [ClojureScript] Advice on Om webapp namespaces?

2015-02-23 Thread Alan MacDougall
On Monday, February 23, 2015 at 1:39:52 PM UTC-6, Colin Yates wrote: If it helps, I have a 'state' namespace with the global state and some global cursors and then a separate .view.X namespace for each 'page'. snip That might be a good way to go -- and it would answer a related question I

[ClojureScript] More details on the Google Closure Module Support now in ClojureScript

2015-02-23 Thread David Nolen
Posted here: http://swannodette.github.io/2015/02/23/hello-google-closure-modules/ David -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To