aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 06:58:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 06:58:45 +0000
commitb85f549b2988bf502ffab7befe9e528bc5de68d5 (patch)
tree3e98ef95e45e44260539e38b52534d576a47d213 /js/lib
parent008644017462ff0848a3d047d4656762c13c0364 (diff)
downloadelgg-b85f549b2988bf502ffab7befe9e528bc5de68d5.tar.gz
elgg-b85f549b2988bf502ffab7befe9e528bc5de68d5.tar.bz2
Added an elgg.extend method for merging two or more objects
git-svn-id: http://code.elgg.org/elgg/trunk@7361 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/elgglib.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/lib/elgglib.js b/js/lib/elgglib.js
index 78a863803..bed2db39d 100644
--- a/js/lib/elgglib.js
+++ b/js/lib/elgglib.js
@@ -30,6 +30,11 @@ elgg.abstractMethod = function() {
};
/**
+ * Merges two or more objects together and returns the result.
+ */
+elgg.extend = jQuery.extend;
+
+/**
* Check if the value is an array.
*
* No sense in reinventing the wheel!