equal
deleted
inserted
replaced
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: |