aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/js/RrdTime.js
diff options
context:
space:
mode:
authorManuel Luis SanmartĂ­n Rozada2014-08-01 00:26:22 +0200
committerPim van den Berg2014-08-02 12:29:56 +0200
commit8bae559da5cf426bb5dfd0a88942d47b7011fcae (patch)
tree4333cda187ab9e8317d6f4aa235df99b324eea01 /js/RrdTime.js
parentjsrrdgraph: Fix reduce in DEF (diff)
downloadapt-panopticon_cgp-8bae559da5cf426bb5dfd0a88942d47b7011fcae.zip
apt-panopticon_cgp-8bae559da5cf426bb5dfd0a88942d47b7011fcae.tar.gz
apt-panopticon_cgp-8bae559da5cf426bb5dfd0a88942d47b7011fcae.tar.bz2
apt-panopticon_cgp-8bae559da5cf426bb5dfd0a88942d47b7011fcae.tar.xz
jsrrdgraph: Fix error functions. Error prototype.
Diffstat (limited to 'js/RrdTime.js')
-rw-r--r--js/RrdTime.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/RrdTime.js b/js/RrdTime.js
index c1de1fc..9010ece 100644
--- a/js/RrdTime.js
+++ b/js/RrdTime.js
@@ -27,10 +27,10 @@
27 */ 27 */
28var RrdTimeError = function (message) 28var RrdTimeError = function (message)
29{ 29{
30 this.prototype = Error.prototype;
31 this.name = "RrdTimeError"; 30 this.name = "RrdTimeError";
32 this.message = (message) ? message : "Error"; 31 this.message = (message) ? message : "Error";
33}; 32};
33RrdTimeError.prototype = new Error();
34 34
35/** 35/**
36 * RrdTime 36 * RrdTime