diff -r d334a616c023 -r e16a97fb364a src/cm/media/js/lib/yui/yui3-3.15.0/build/button/button-debug.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui3-3.15.0/build/button/button-debug.js Mon Mar 10 15:19:48 2014 +0100 @@ -0,0 +1,332 @@ +YUI.add('button', function (Y, NAME) { + +/** + * A Button Widget + * + * @module button + * @since 3.5.0 + */ + +var ButtonCore = Y.ButtonCore, + CLASS_NAMES = ButtonCore.CLASS_NAMES, + ARIA_STATES = ButtonCore.ARIA_STATES, + ARIA_ROLES = ButtonCore.ARIA_ROLES; + +/** + * Creates a Button + * + * @class Button + * @extends Widget + * @uses ButtonCore + * @param config {Object} Configuration object + * @constructor + */ +function Button() { + Button.superclass.constructor.apply(this, arguments); +} + +/* Button extends Widget */ +Y.extend(Button, Y.Widget, { + + // Y.Button prototype properties + + /** + * Bounding box template that will contain the Button's DOM subtree. + * + * @property BOUNDING_TEMPLATE + * @type {String} + * @default