Clearly not. I also was not aware that it was a fancier version of SeamlessField. I'll try that first.
Pepijn On Thursday, 30 August 2012 14:42:33 UTC+2, Gijs S. wrote: > > Hi, > > Re: ContentEditableField > > ContentEditableFIeld has only recently been added to the Google Closure > Library ( > http://code.google.com/p/closure-library/source/list?path=/trunk/closure/goog/editor/contenteditablefield.js&start=2035). > > Are you sure that the version of the Google Closure Library that you use > with ClojureScript is recent enough? > > -Gijs > > On Thursday, August 30, 2012 1:54:41 PM UTC+2, Pepijn de Vos wrote: >> >> I finally started trying some ClojureScript, hoping things would be >> working and documented, but I'm still having a lot of trouble even getting >> a simple app together. >> >> cljs-build does a fair job at getting a working setup in a few minutes, >> but there is still a lot of things that are "just because" or are not at >> all. For now I'm just guessing when to use slashes, dots or dashes for >> interop. >> >> It seems people insist on using (:require [some.class.path :as p]) and >> then use some.class.path instead of p. Regardless of the reason for that, I >> can't seem to import this contenteditable field: >> http://closure-library.googlecode.com/svn/docs/class_goog_editor_ContentEditableField.html >> >> As I understand it, clojurescript namespace get compiled to closure >> provides calls. The provides call for ContentEditableField >> is goog.editor.ContentEditableField, yet I fail to require it any way I try. >> >> Importing something else, like goog.dom seems to work just fine. >> >> In some docs I read that if you use simple optimizations, you need to >> load goog.base and your code and then require it. I don't see any closure >> library output that I can use, and it seems to work without doing that. It >> seems strange to me that you would need different code on the client >> depending on the optimization level. >> >> Just to be sure, I also ran advanced compilation, in which case it >> complains about missing goog.editor.ContentEditableField at compile time. >> >> I hope someone can clear things up. >> >> Pepijn >> > -- 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