/[drupal]/contributions/modules/js/CHANGELOG.txt
ViewVC logotype

Contents of /contributions/modules/js/CHANGELOG.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Thu Jul 23 10:47:04 2009 UTC (4 months, 1 week ago) by sun
Branch: MAIN
Changes since 1.4: +14 -14 lines
File MIME type: text/plain
by sun: Minor code and documentation clean-up.
1 // $Id: CHANGELOG.txt,v 1.4 2009/07/03 19:32:17 smk Exp $
2
3 JavaScript callback handler x.x-x.x, xxxx-xx-xx
4 -----------------------------------------------
5
6
7 JavaScript callback handler 5.x-2.x, xxxx-xx-xx
8 -----------------------------------------------
9 Complete rewrite of JS callback handler. Added a requirement for hook_js() in
10 third-party modules, which must return an info array with allowed callbacks.
11 Refer to the README for details. Example:
12 <?php
13 function example_js() {
14 return array(
15 'somefunction' => array(
16 'callback' => 'example_somefunction',
17 'includes' => array('theme', 'unicode'),
18 'dependencies' => array('locale', 'filter', 'user'),
19 ),
20 );
21 }
22 ?>
23 Avoid devel.module to get in the way.
24 Avoid caching of JS callback output.
25 Moved js_requirements() into js.install.
26 Fixed lines do not wrap at 80 chars in README.txt.
27
28
29 JavaScript callback handler 5.x-1.0, 2008-04-26
30 -----------------------------------------------
31 Initial release of JavaScript callback handler.
32
33

  ViewVC Help
Powered by ViewVC 1.1.2