prim-seq

On Sunday, January 11, 2015, Jonathon McKitrick <[email protected]>
wrote:

> Well, that's better than what I was using:
>
> (set! (.-display (.-style (goog.dom/getElement "rcontent"))) "block")
>
> Now, why can't I turn an HTMLOptionsCollection into a seq?
>
> On Sunday, January 11, 2015 at 7:11:24 PM UTC-5, David Nolen wrote:
> > Use goog.dom.classes
> >
> >
> http://docs.closure-library.googlecode.com/git-history/b75212a4258f8190d08fd518e165555efe764d9d/closure_goog_dom_classes.js.html
> >
> >
> > goog.dom.classes.toggle with a CSS display none class should get the job
> done.
> >
> >
> > That or you can use goog.dom.style
> >
> >
> > goog.dom.style.setStyle(el, "display", "none");
> >
> >
> >
> > David
> >
> >
> > On Sun, Jan 11, 2015 at 7:01 PM, Jonathon McKitrick <[email protected]
> <javascript:;>> wrote:
> > On Sunday, January 11, 2015 at 5:24:13 PM UTC-5, [email protected]
> <javascript:;> wrote:
> >
> > > Hmm, perhaps the minified jQuery is doing its own munging. I have no
> idea. Sorry. :( If you don't *really* need jQuery, you should probably
> elide it. Google Closure provides a ton of advanced compilation compatible
> functionality you would otherwise be using jQuery for.
> >
> >
> >
> > I almost have it figured out.  If I can show/hide elements via Closure,
> I can jettison jQuery.  I just can't seem to find any decent examples of
> that yet....
> >
> >
> >
> >
> >
> > --
> >
> > Note that posts from new members are moderated - please be patient with
> your first post.
> >
> > ---
> >
> > You received this message because you are subscribed to the Google
> Groups "ClojureScript" group.
> >
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected] <javascript:;>.
> >
> > To post to this group, send email to [email protected]
> <javascript:;>.
> >
> > Visit this group at http://groups.google.com/group/clojurescript.
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:;>.
> To post to this group, send email to [email protected]
> <javascript:;>.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to