doc/book/en/development/devweb/js.rst
branchstable
changeset 3441 bdeb91e08278
parent 3283 4f53eb3f1331
child 3581 669854258b90
equal deleted inserted replaced
3440:1d085e170beb 3441:bdeb91e08278
    21 It is good practice to name cube specific js files after the name of
    21 It is good practice to name cube specific js files after the name of
    22 the cube, like this : 'cube.mycube.js', so as to avoid name clashes.
    22 the cube, like this : 'cube.mycube.js', so as to avoid name clashes.
    23 
    23 
    24 XXX external_resources variable (which needs love)
    24 XXX external_resources variable (which needs love)
    25 
    25 
    26 CubicWeb javascrip api
    26 CubicWeb javascript api
    27 ~~~~~~~~~~~~~~~~~~~~~~
    27 ~~~~~~~~~~~~~~~~~~~~~~
    28 
    28 
    29 Javascript resources are typically loaded on demand, from views. The
    29 Javascript resources are typically loaded on demand, from views. The
    30 request object (available as self.req from most application objects,
    30 request object (available as self.req from most application objects,
    31 for instance views and entities objects) has a few methods to do that:
    31 for instance views and entities objects) has a few methods to do that: