Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Just pass init arguments directly to keep closure compiler happy.

  • Loading branch information...
commit beafeca8cc7b71a80e2a6f3055c6506431614a6c 1 parent 59dfb06
Richard Wall authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 rrd.js
View
9 rrd.js
@@ -24,7 +24,6 @@
/**
* @constructor
- * @param {string} tspec
*/
var RRDTime = function(tspec) {
this.parser(tspec);
@@ -627,8 +626,8 @@ RRDTime.proc_start_end = function(start_t, end_t) {
/**
* @constructor
*/
-var RRDRpn = function() {
- this.parser.apply(this, arguments);
+var RRDRpn = function(str_expr, gdes) {
+ this.parser(str_expr, gdes);
};
RRDRpn.OP = { NUMBER: 0, VARIABLE: 1, INF: 2, PREV: 3, NEGINF: 4,
@@ -1165,8 +1164,8 @@ RRDRpn.prototype = {
/**
* @constructor
*/
-var RRDGraphDesc = function() {
- this.init.apply(this, arguments);
+var RRDGraphDesc = function(graph) {
+ this.init(graph);
};
RRDGraphDesc.GF = {PRINT: 0, GPRINT: 1, COMMENT: 2, HRULE: 3, VRULE: 4, LINE: 5, AREA:6, STACK:7, TICK:8, TEXTALIGN:9, DEF:10, CDEF:11, VDEF:12, SHIFT: 13, XPORT: 14 };
Please sign in to comment.
Something went wrong with that request. Please try again.