aboutsummaryrefslogtreecommitdiff
path: root/js/lib/elgglib.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/elgglib.js')
-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!");
};
/**