ytrstu / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

jquery $ dollar symbol is gone #278

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
i had this function:
href="javascript:$.containers.goto($('#wrapper')[0],'#c6')"

put vosao parsed it like this:

href="javascript:.containers.goto($('#wrapper')[0],'#c6')"

( no $ any more...)

so i had to do it like this:

href="javascript:jQuery.containers.goto($('#wrapper')[0],'#c6')"

Original issue reported on code.google.com by mklarmann on 25 Jul 2010 at 1:26

GoogleCodeExporter commented 8 years ago
If Velocit used JQuery symbol $.func conflicts with Velocity $. syntax. 
Recommended way is to use jQuery instead of $ or Velocity escape expression 
\$.func

Original comment by kinyelo@gmail.com on 27 Nov 2010 at 12:05

GoogleCodeExporter commented 8 years ago
Added a FAQ - http://staging.vosao.org/designer/next

(Also making a note that we should add a general JQuery section.)

Original comment by ted.husted on 27 Nov 2010 at 11:04