[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Another question about Orbit sample app todo
- From: Fabio Mascarenhas <mascarenhas@...>
- Date: Sun, 8 Mar 2015 15:31:29 -0300
On Sun, Mar 1, 2015 at 8:45 AM, Joh Journeyer J.
<oosaprogrammer@gmail.com> wrote:
> Hi list,
>
> Let me ask another question about the sample orbit app todo.
>
> I want to know why there are $$s not $.
> For the sentence below,
>
> $$(".remove").click(function () {
>
Because this is JavaScript code embedded in the template. $$ escapes
to a single $ in the generated page. Otherwise Cosmo would try to
interpret this.
--
Fabio Mascarenhas