From: ewinslow Date: Tue, 9 Nov 2010 00:34:30 +0000 (+0000) Subject: Abstract methods are no longer nameable X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=fd5a1cb84ba7deb69ddbb25ba7afa89741eea248;p=lorea%2Felgg.git Abstract methods are no longer nameable git-svn-id: http://code.elgg.org/elgg/trunk@7257 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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!"); }; /**