/[drupal]/contributions/modules/fb/fb_fbml.js
ViewVC logotype

Contents of /contributions/modules/fb/fb_fbml.js

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


Revision 1.1 - (show annotations) (download) (as text)
Fri Aug 15 18:34:27 2008 UTC (15 months, 2 weeks ago) by yogadex
Branch: MAIN
CVS Tags: DRUPAL-5--0-1, DRUPAL-5--0-2, HEAD
Branch point for: DRUPAL-5--2
File MIME type: text/javascript
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