]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Abstract methods are no longer nameable
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 9 Nov 2010 00:34:30 +0000 (00:34 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 9 Nov 2010 00:34:30 +0000 (00:34 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7257 36083f99-b078-4883-b0ff-0f9b5a30f544

js/lib/elgglib.js

index d71e827472951e6c85674fd035f1572c2cc39307..dc1f8f60c6c1359de2062436b896f26d9deaae6a 100644 (file)
@@ -26,8 +26,8 @@ elgg.nullFunction = function() {};
  * Now this forces an inheriting class to implement the method or\r
  * it will throw an error.\r
  */\r
-elgg.abstractMethod = function(name) {\r
-       throw new Error("Oops... you forgot to implement " + name + "!");\r
+elgg.abstractMethod = function() {\r
+       throw new Error("Oops... you forgot to implement an abstract method!");\r
 };\r
 \r
 /**\r