version 0.13-pre and jQuery --- how to add jQuery?

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

version 0.13-pre and jQuery --- how to add jQuery?

Hannes Hirzel
Hello

In amber  version 0.13.0-pre jQuery seems not to be included in the
project generated by

     amber init

For example

    'body' asjQuery

gives an error message.

The file index.html contains

<script type='text/javascript'>
      require([
          'amber/devel',
          'amber-amber013testa/Amber013TestA',
          'amber-amber013testa/Amber013TestA-Tests'
      ], function (smalltalk) {
          //used for all new packages in IDE
          smalltalk.initialize({
            'transport.defaultAmdNamespace': "amber-amber013testa"
          });
      });
    </script>

How do I do that?

Regards

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: version 0.13-pre and jQuery --- how to add jQuery?

Herby Vojčík


H. Hirzel wrote:

> Hello
>
> In amber  version 0.13.0-pre jQuery seems not to be included in the
> project generated by
>
>       amber init
>
> For example
>
>      'body' asjQuery
>
> gives an error message.

If you are able to run IDE you have jQuery loaded.

Maybe it's just typo in the selector (it should be asJQuery)?

--
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: version 0.13-pre and jQuery --- how to add jQuery?

Hannes Hirzel
Thank you, yes it is

String>>asJQuery

--Hannes

On 9/11/14, Herby Vojčík <[hidden email]> wrote:

>
>
> H. Hirzel wrote:
>> Hello
>>
>> In amber  version 0.13.0-pre jQuery seems not to be included in the
>> project generated by
>>
>>       amber init
>>
>> For example
>>
>>      'body' asjQuery
>>
>> gives an error message.
>
> If you are able to run IDE you have jQuery loaded.
>
> Maybe it's just typo in the selector (it should be asJQuery)?
>
> --
> 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.
>

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