sjy-ecos/public/lib/bokeh/js/tree/models/ranges/data_range.js

32 lines
815 B
JavaScript

var DataRange, Range, _, p,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnProperty;
_ = require("underscore");
Range = require("./range");
p = require("../../core/properties");
DataRange = (function(superClass) {
extend(DataRange, superClass);
function DataRange() {
return DataRange.__super__.constructor.apply(this, arguments);
}
DataRange.prototype.type = 'DataRange';
DataRange.define({
names: [p.Array, []],
renderers: [p.Array, []]
});
return DataRange;
})(Range.Model);
module.exports = {
Model: DataRange
};