widgets: export widget's classes in modules defs
This commit is contained in:
parent
cb4cd90e77
commit
2fe2ed790f
8 changed files with 8 additions and 8 deletions
|
|
@ -40,7 +40,7 @@ module.exports.options = {
|
|||
}
|
||||
|
||||
|
||||
var Multifader = function(widgetData) {
|
||||
var Multifader = module.exports.Multifader = function(widgetData) {
|
||||
|
||||
_matrices_base.apply(this,arguments)
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ module.exports.options = {
|
|||
}
|
||||
|
||||
|
||||
var Multipush = function(widgetData) {
|
||||
var Multipush = module.exports.Multipush = function(widgetData) {
|
||||
|
||||
_matrices_base.apply(this,arguments)
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ module.exports.options = {
|
|||
target:[]
|
||||
}
|
||||
|
||||
var Multitoggle = function(widgetData) {
|
||||
var Multitoggle = module.exports.Multitoggle = function(widgetData) {
|
||||
|
||||
_matrices_base.apply(this,arguments)
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ module.exports.options = {
|
|||
|
||||
}
|
||||
|
||||
var Eq = function(widgetData) {
|
||||
var Eq = module.exports.Eq = function(widgetData) {
|
||||
|
||||
_plots_base.call(this,widgetData)
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ module.exports.options = {
|
|||
|
||||
}
|
||||
|
||||
var Plot = function(widgetData) {
|
||||
var Plot = module.exports.Plot = function(widgetData) {
|
||||
|
||||
_plots_base.call(this,widgetData)
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ module.exports.options = {
|
|||
preArgs:[],
|
||||
}
|
||||
|
||||
var Visualizer = function(widgetData) {
|
||||
var Visualizer = module.exports.Visualizer = function(widgetData) {
|
||||
|
||||
_plots_base.call(this,widgetData)
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ module.exports.options = {
|
|||
target:[]
|
||||
}
|
||||
|
||||
var Fader = function(widgetData){
|
||||
var Fader = module.exports.Fader = function(widgetData){
|
||||
|
||||
_sliders_base.apply(this,arguments)
|
||||
this.widget.addClass('fader')
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ module.exports.options = {
|
|||
|
||||
|
||||
|
||||
Knob = function(widgetData) {
|
||||
var Knob = module.exports.Knob = function(widgetData) {
|
||||
|
||||
_sliders_base.apply(this,arguments)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue