pads: use widgets base instead of canvas base
This commit is contained in:
parent
92fc881cbe
commit
97b58abd06
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
var Fader = require('../sliders/fader')
|
||||
var _canvas_base = require('../common/_canvas_base')
|
||||
var _widgets_base = require('../common/_widgets_base')
|
||||
|
||||
var _pads_base = module.exports = function(){
|
||||
|
||||
|
|
@ -11,12 +11,12 @@ var _pads_base = module.exports = function(){
|
|||
</div>
|
||||
`)
|
||||
this.wrapper = this.widget.find('.wrapper')
|
||||
// _canvas_base.apply(this, arguments)
|
||||
_widgets_base.apply(this, arguments)
|
||||
|
||||
|
||||
}
|
||||
|
||||
_pads_base.prototype = Object.create(_canvas_base.prototype)
|
||||
_pads_base.prototype = Object.create(_widgets_base.prototype)
|
||||
|
||||
_pads_base.prototype.constructor = _pads_base
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue