How do I open the class browser with a specific class?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How do I open the class browser with a specific class?

Hannes Hirzel
Hello

I asked here

   http://stackoverflow.com/questions/27766578/how-do-i-open-the-class-browser-with-a-specific-class

a question about the following code snippet.

<button onClick="amber.globals.Browser._openOn_(amber.globals.ProcessingClock)">ProcessingClock
class</button>


I get the error as shown in the screen shot.


The project I am working on is here

https://github.com/hhzl/amber-processingJs


What am I missing?

thank you in advance

Hannes

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

Amber-ProcessingJS-Screenshot from 2015-01-04 14:25:19.png (89K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How do I open the class browser with a specific class?

Hannes Hirzel
Herby gave an answer:


http://stackoverflow.com/a/27766719/1669111

Follow up question

   require('amber/helpers').globals.Browser._open()

works in v0.13, but how do I specify the class to be opened?

       require('amber/helpers').globals.Browser._open(require('amber/helpers').globals.ProcessingClock);

does not work.

--HH

On 1/4/15, H. Hirzel <[hidden email]> wrote:

> Hello
>
> I asked here
>
>
> http://stackoverflow.com/questions/27766578/how-do-i-open-the-class-browser-with-a-specific-class
>
> a question about the following code snippet.
>
> <button
> onClick="amber.globals.Browser._openOn_(amber.globals.ProcessingClock)">ProcessingClock
> class</button>
>
>
> I get the error as shown in the screen shot.
>
>
> The project I am working on is here
>
> https://github.com/hhzl/amber-processingJs
>
>
> What am I missing?
>
> thank you in advance
>
> Hannes
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How do I open the class browser with a specific class?

Herby Vojčík
open -> _open
openOn: -> _openOn_

H. Hirzel wrote:

> Herby gave an answer:
>
>
> http://stackoverflow.com/a/27766719/1669111
>
> Follow up question
>
>     require('amber/helpers').globals.Browser._open()
>
> works in v0.13, but how do I specify the class to be opened?
>
>         require('amber/helpers').globals.Browser._open(require('amber/helpers').globals.ProcessingClock);
>
> does not work.
>
> --HH
>
> On 1/4/15, H. Hirzel<[hidden email]>  wrote:
>> Hello
>>
>> I asked here
>>
>>
>> http://stackoverflow.com/questions/27766578/how-do-i-open-the-class-browser-with-a-specific-class
>>
>> a question about the following code snippet.
>>
>> <button
>> onClick="amber.globals.Browser._openOn_(amber.globals.ProcessingClock)">ProcessingClock
>> class</button>
>>
>>
>> I get the error as shown in the screen shot.
>>
>>
>> The project I am working on is here
>>
>> https://github.com/hhzl/amber-processingJs
>>
>>
>> What am I missing?
>>
>> thank you in advance
>>
>> Hanne
s
>>
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.