This gist https://gist.github.com/3019801 shows a lein cljsbuild failure
with the error:
Could not locate clojure/instant__init.class or clojure/instant.clj on
classpath
Does anybody have any idea why this would be happening and what to do to
fix it?
Thanks,
-e
--
You received this
Hi folks,
I'm looking for people's experience and best-practices writing tests
for clojurescript apps. Have folks been using Google Closure's test
functions? Anybody tried integrating Jasmine? Any other
approaches?What I'd love is something like midje for a more BDD
approach...
Thanks,
Here's my clojurescript function:
(defn make-select [elem-id]
(let [select (goog.ui.Select. Heading)
select-elem (d/element (keyword (str div# elem-id)))]
(.addItemAt select (goog.ui.MenuItem. Item 1) 0)
(.addItem select (goog.ui.Option. Item 2))
Well, I figured it out. It was working just fine. The problem was
that the Options/MenuItems are added elsewhere to the dom. I didn't
have the css loading so I just didn't notice that they were at the
very bottom of the screen.
On Oct 10, 9:25 pm, Eric Harris-Braun zippy.314@gmail.com
[]
(.set goog.net.cookies name content -1))
Which will properly set the cookie (see attachment)
On Wed, Oct 5, 2011 at 11:24 PM, Eric Harris-Braun
zippy.314@gmail.comwrote:
Has anybody successfully used cookies in clojurescript with
goog.net.cookies?
I keep getting this error
Has anybody successfully used cookies in clojurescript with
goog.net.cookies?
I keep getting this error: 'this.isValidName' [undefined] is not a
function (Safari) or Uncaught TypeError: Object [object DOMWindow]
has no method 'isValidName' (Chrome) when I try to set a cookie via
Check out this little bit of code:
(doseq [hid [a b c]]
(goog.dom.appendChild (goog.dom.$ some-element-id)
(goog.dom.createDom div (.strobj {id hid}) (str Test-hid)))
(goog.events.listen (goog.dom.$ hid) goog.events.EventType.CLICK,
(fn [e] (js/alert hid
What I want it do to is add in a