25 lines
745 B
JavaScript
25 lines
745 B
JavaScript
|
var AdaptiveTicker, BasicTicker, _,
|
||
|
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");
|
||
|
|
||
|
AdaptiveTicker = require("./adaptive_ticker");
|
||
|
|
||
|
BasicTicker = (function(superClass) {
|
||
|
extend(BasicTicker, superClass);
|
||
|
|
||
|
function BasicTicker() {
|
||
|
return BasicTicker.__super__.constructor.apply(this, arguments);
|
||
|
}
|
||
|
|
||
|
BasicTicker.prototype.type = 'BasicTicker';
|
||
|
|
||
|
return BasicTicker;
|
||
|
|
||
|
})(AdaptiveTicker.Model);
|
||
|
|
||
|
module.exports = {
|
||
|
Model: BasicTicker
|
||
|
};
|