summaryrefslogtreecommitdiffstats
path: root/js/app/services/existserror.coffee
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-15 18:11:38 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-15 18:11:38 +0200
commit94e82411f7def5b3f79df43eb0279142cea19f1e (patch)
treef352530c4689644dcf58c8fcf8a42dc8b0c6fa2c /js/app/services/existserror.coffee
parentc171e9e381e6d7af9c2dd44ff82f9fef381a2e1a (diff)
fix unittest breakage errors in firefox and phantomjs, bump build tools
Diffstat (limited to 'js/app/services/existserror.coffee')
-rw-r--r--js/app/services/existserror.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/app/services/existserror.coffee b/js/app/services/existserror.coffee
index cb9fab54e..3c282908f 100644
--- a/js/app/services/existserror.coffee
+++ b/js/app/services/existserror.coffee
@@ -23,10 +23,10 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
angular.module('News').factory '_ExistsError', ->
- class ExistsError extends Error
+ class ExistsError
+
+ constructor: (@message) ->
- constructor: (message='') ->
- super(message)
return ExistsError \ No newline at end of file