doc/book/en/devweb/js.rst
branchstable
changeset 5400 b7ab099b128a
parent 5394 105011657405
child 5470 fb004819cab4
child 5475 b44bad36e609
equal deleted inserted replaced
5399:03c641ae00a6 5400:b7ab099b128a
    18 ~~~~~~~~~~~
    18 ~~~~~~~~~~~
    19 
    19 
    20 It is good practice to name cube specific js files after the name of
    20 It is good practice to name cube specific js files after the name of
    21 the cube, like this : 'cube.mycube.js', so as to avoid name clashes.
    21 the cube, like this : 'cube.mycube.js', so as to avoid name clashes.
    22 
    22 
    23 XXX external_resources variable (which needs love)
    23 .. XXX external_resources variable (which needs love)
    24 
    24 
    25 CubicWeb javascript API
    25 CubicWeb javascript API
    26 ~~~~~~~~~~~~~~~~~~~~~~~
    26 ~~~~~~~~~~~~~~~~~~~~~~~
    27 
    27 
    28 Javascript resources are typically loaded on demand, from views. The
    28 Javascript resources are typically loaded on demand, from views. The
   317     }
   317     }
   318 
   318 
   319 
   319 
   320 
   320 
   321 
   321 
   322 XXX reloadComponent
   322 .. XXX reloadComponent
   323 XXX userCallback / user_callback
   323 .. XXX userCallback / user_callback
   324 
   324 
   325 Javascript library: overview
   325 Javascript library: overview
   326 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   326 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   327 
   327 
   328 * jquery.* : jquery and jquery UI library
   328 * jquery.* : jquery and jquery UI library