Parent Directory
|
Revision Log
|
Revision Graph
Stylesheets and javascript are now included by reference, rather than inline.
| 1 | /** |
| 2 | * FBML pages cannot include all of jquery or Drupal's normal javascript |
| 3 | * functions. But here we emulate just enough to get basic things like |
| 4 | * settings to work. |
| 5 | */ |
| 6 | var Drupal = Drupal || {}; |
| 7 | |
| 8 | /** |
| 9 | * Extends the current object with the parameter. Works recursively. |
| 10 | */ |
| 11 | Drupal.extend = function(obj) { |
| 12 | for (var i in obj) { |
| 13 | if (this[i]) { |
| 14 | Drupal.extend.apply(this[i], [obj[i]]); |
| 15 | } |
| 16 | else { |
| 17 | this[i] = obj[i]; |
| 18 | } |
| 19 | } |
| 20 | }; |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |