base.js revision 59f46e3ac39a4447080c957ac93d78bb41a66eea
/*global Y */
/* For reference
*/
this.addAttrs({
name: {
}
},
id: {
}
},
type: {
value: 'push',
},
if (val === "toggle") {
// Reverse
}, this);
}
}
},
disabled: {
value: 'false',
},
var node;
if (val === true) {
}
else {
}
}
},
tabIndex: {
value: '0',
},
}
},
srcNode: {
}
else {
return val;
}
}
},
selected: {
value: false,
var node;
if (value) {
}
else {
}
}
/*
else {
// Setting to same value, don't do anything (right?)
}
*/
},
}
}
}, config);
// TODO: Should I even check for hasClass before adding?
}
// TODO: Same ^
}
});
});
});
});
this.on('selectedChange', function(e){
if (e.propagate === false) {
}
});
};
/* A few methods to handle color contrast, not sure if these will make it in the final build or not */
};
return color;
}
};
var r, g, b, yiq;
};
var ButtonGenerator = function(config) {
// TODO: SHould this be <button> or <input type="button"> ??
});
return button;
};
var buttons = [];
});
});
return buttons;
};