A clean of temp files (namely, rm -rf resources/public/cljs) source tree should have fixed it. Just worked for me after upgrading to latest ClojureScript.
On Monday, May 14, 2012 3:29:16 AM UTC+2, Murtaza Husain wrote: > > > I am using Chris Ganger's noir-cljs. > > Any leads on how I could debug it? > > Thanks, > Murtaza > > On Sunday, May 13, 2012 7:35:13 PM UTC+5:30, David Nolen wrote: >> >> How are you compiling your source? >> >> On Sunday, May 13, 2012, Murtaza Husain wrote: >> >>> Hi, >>> >>> I have an array of maps defined as below - >>> >>> (def input-boxes [{:name ":person/first-name" :label-text "Full Name" >>> :help-text "Please enter your full name as - First Middle Last"} >>> {:name ":person/ejamaat" :label-text "Ejamaat Number" >>> :placeholder-text "Ejamaat #"} >>> {:name ":person/mobile" :label-text "Mobile Number" >>> :placeholder-text "Mobile #"} >>> {:name ":person/email" :label-text "Email Address"} >>> {:name ":person/watan" :label-text "Watan" >>> :placeholder-text "Watan"}]) >>> >>> This is the generated code and error that I see in browser - >>> >>> faiz.client.infoCollection.input_boxes = >>> cljs.core.PersistentVector.fromArray([cljs.core.ObjMap.fromObject(["\ufdd0'name", >>> >>> "\ufdd0'label-text", "\ufdd0'help-text"], >>> {"\ufdd0'name":":person/first-name", "\ufdd0'label-text":"Full Name", >>> "\ufdd0'help-text":"Please enter your full name as - First Middle Last"}), >>> cljs.core.ObjMap.fromObject(["\ufdd0'name", "\ufdd0'label-text", >>> "\ufdd0'placeholder-text"], {"\ufdd0'name":":person/ejamaat", >>> "\ufdd0'label-text":"Ejamaat Number", "\ufdd0'placeholder-text":"Ejamaat >>> #"}), >>> Uncaught TypeError: Cannot call method 'fromArray' of undefined >>> >>> Any ideas on what is wrong here? >>> >>> Thanks, >>> Murtaza >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to clojure@googlegroups.com >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/clojure?hl=en >> >> -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en