Would it be correct to interpret this as another vote for JVM Clojure's 
proxy macro?

On Wednesday, September 12, 2012 7:16:37 PM UTC-7, Alexander Hudek wrote:
>
> I've used it in conjunction with goog/base due to a problem with 
> simple/advanced compilation. I'm not sure if things have changed since I 
> encountered this problem, or if there is something else I'm doing wrong. 
> See the code and comment below. The deactivated "this-as" code only worked 
> with whitespace compilation.
>
> (goog-extend
> NoEnterHandler goog.editor.Plugin
> ([]
>   ; simple and advanced compilation require a literal 'this' in goog.base
>   ; js* is supposed to be a compiler detail.
> #_(this-as this (goog/base this))
> (goog/base (js* "this")))
>
> (getTrogClassId [] "NoEnterHandler")
>
> (isSupportedCommand [c] false)
>
> (handleKeyDown
> [e]
> (if (= (.-keyCode e) key-codes/ENTER) (.preventDefault e))))
>
> The goog.extend macro is copied from
>
> https://github.com/netguy204/MOVE/blob/master/src/move/macros.clj
>
> On Wednesday, September 12, 2012 7:12:21 PM UTC-4, Brandon Bloom wrote:
>>
>> I'm exploring some changes to the ClojureScript compiler backend and am 
>> curious if anyone is using one particular implementation detail: The js* 
>> special form.
>>
>> Note that I'm not asking about the js/ pseudo-namespace, only the js* 
>> special form.
>>
>> Are you using it in your ClojureScript projects? If so, what for?
>>
>

-- 
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

Reply via email to