Created
August 18, 2012 22:39
-
-
Save aperiodic/3390189 to your computer and use it in GitHub Desktop.
Singult Lazy Sequence Bug Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uncaught TypeError: Object div.child,[object Object] has no method 'match' main.js:25735 | |
singult.coffee.canonicalize_hiccup main.js:25735 | |
singult.coffee.canonicalize main.js:25725 | |
(anonymous function) main.js:25751 | |
singult.coffee.canonicalize_hiccup main.js:25744 | |
singult.coffee.canonicalize main.js:25725 | |
merge_BANG_ main.js:26213 | |
bug main.js:28309 | |
goog.events.Listener.handleEvent main.js:27214 | |
goog.events.fireListener main.js:27548 | |
goog.events.handleBrowserEvent_ main.js:27669 | |
(anonymous function) main.js:27301 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns singult-bug | |
(:use-macros [c2.util :only [bind!]]) | |
(:require [c2.core :as c2] | |
[c2.event :as event])) | |
(defn bug [] | |
(bind! | |
"#content" | |
[:div#content | |
(for [i (range 10)] | |
[:div.child {:id (str "child" i)}])])) | |
(event/on-load bug) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This renders fine in C2-0.2.1-SNAPSHOT:
gives