diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-04-21 23:48:54 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-04-19 15:25:49 +0300 |
commit | a693a0459c176b86e17d536584d0c1c527f92857 (patch) | |
tree | f9cfd749454f1e24c14400741d403bb1f1388ce8 /web/error.js | |
parent | be803d679f7a51f93194c86e37168c651471031b (diff) | |
download | aconf-a693a0459c176b86e17d536584d0c1c527f92857.tar.bz2 aconf-a693a0459c176b86e17d536584d0c1c527f92857.tar.xz |
web client: refactor using AngularJS and Bootstrapv0.6.0
Diffstat (limited to 'web/error.js')
-rw-r--r-- | web/error.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/web/error.js b/web/error.js deleted file mode 100644 index c5c184a..0000000 --- a/web/error.js +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright (c) 2012-2014 Kaarle Ritvanen - * See LICENSE file for license details - */ - -define(function() { - return function(msg, xhr) { - msg += " " + xhr.statusCode().status; - if (xhr.responseText) msg += ': ' + xhr.responseText; - return msg; - } -}); |