aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/js/RrdRpn.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/RrdRpn.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/RrdRpn.js')
-rw-r--r--js/RrdRpn.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/RrdRpn.js b/js/RrdRpn.js
index 5ca8daf..3eb4e4a 100644
--- a/js/RrdRpn.js
+++ b/js/RrdRpn.js
@@ -27,10 +27,10 @@
27 */ 27 */
28var RrdRpnError = function (message) 28var RrdRpnError = function (message)
29{ 29{
30 this.prototype = Error.prototype;
31 this.name = "RrdRpnError"; 30 this.name = "RrdRpnError";
32 this.message = (message) ? message : "RPN stack underflow"; 31 this.message = (message) ? message : "RPN stack underflow";
33}; 32};
33RrdRpnError.prototype = new Error();
34 34
35/** 35/**
36 * RrdRpn 36 * RrdRpn