H. Hirzel wrote:
> Hello Tim
>
> On 4/14/14, Tim Mackinnon<
[hidden email]> wrote:
>> I've reported my results (success).
>
> Good.
>
>> So in the new world - where loading and dependencies are created via
grunt
>> and bower - how will I get my stub counter example?
>
> Add
> <button
onclick="require('amber_vm/smalltalk').Counter._tryExample()">Counter</button>
A bit of technical nitpick... amber_vm/xxx are not encouraged to use, as
they are deemed internal. Moreover, globals (like classes) are still
accessible at the old place (for backward compatibility), but they
reside in different, dedicated place for globals (that's what a warning
line about ClassName in js console is about)..
That onclick should contain
"require('amber/helpers').globals.Counter._tryExample".
--
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.