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<javascript:_e({}, 'cvml', > '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 <javascript:_e({}, 'cvml', > 'clojure%2bunsubscr...@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