| 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 |
|