From fd5a1cb84ba7deb69ddbb25ba7afa89741eea248 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 9 Nov 2010 00:34:30 +0000 Subject: Abstract methods are no longer nameable git-svn-id: http://code.elgg.org/elgg/trunk@7257 36083f99-b078-4883-b0ff-0f9b5a30f544 --- js/lib/elgglib.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/lib') 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!"); }; /** -- cgit v1.2.3