aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 00:34:30 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 00:34:30 +0000
commitfd5a1cb84ba7deb69ddbb25ba7afa89741eea248 (patch)
tree14b72aa2170c09e309321263f8f5dc6c29d894d5
parenta9418aea986bbb0ff94567b47f7d172083794276 (diff)
downloadelgg-fd5a1cb84ba7deb69ddbb25ba7afa89741eea248.tar.gz
elgg-fd5a1cb84ba7deb69ddbb25ba7afa89741eea248.tar.bz2
Abstract methods are no longer nameable
git-svn-id: http://code.elgg.org/elgg/trunk@7257 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--js/lib/elgglib.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/elgglib.js b/js/lib/elgglib.js
index d71e82747..dc1f8f60c 100644
--- a/js/lib/elgglib.js
+++ b/js/lib/elgglib.js
@@ -26,8 +26,8 @@ elgg.nullFunction = function() {};
* Now this forces an inheriting class to implement the method or
* it will throw an error.
*/
-elgg.abstractMethod = function(name) {
- throw new Error("Oops... you forgot to implement " + name + "!");
+elgg.abstractMethod = function() {
+ throw new Error("Oops... you forgot to implement an abstract method!");
};
/**