From 16abde399daa07e11f3b972ab675d59374cf08be Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 7 Jan 2015 21:51:38 -0500 Subject: [PATCH] Spinner: Updates for new button widget and classes option --- demos/button/default.html | 9 +- demos/button/icons.html | 10 +- demos/button/splitbutton.html | 70 ------------- demos/button/toolbar.html | 115 ---------------------- demos/checkboxradio/default.html | 9 +- demos/checkboxradio/no-icons.html | 9 +- demos/checkboxradio/product-selector.html | 10 +- demos/checkboxradio/radiogroup.html | 10 +- tests/unit/button/common-deprecated.js | 2 +- tests/unit/button/core.js | 1 + tests/unit/button/deprecated.js | 2 +- tests/unit/checkboxradio/common.js | 2 +- tests/unit/checkboxradio/core.js | 2 +- tests/unit/checkboxradio/events.js | 72 +------------- tests/unit/checkboxradio/methods.js | 2 +- tests/unit/checkboxradio/options.js | 2 +- ui/widgets/button.js | 3 +- ui/{ => widgets}/checkboxradio.js | 46 +++------ ui/widgets/spinner.js | 12 ++- 19 files changed, 39 insertions(+), 349 deletions(-) delete mode 100644 demos/button/splitbutton.html delete mode 100644 demos/button/toolbar.html rename ui/{ => widgets}/checkboxradio.js (84%) diff --git a/demos/button/default.html b/demos/button/default.html index 5418fd8c9..644dcd225 100644 --- a/demos/button/default.html +++ b/demos/button/default.html @@ -5,18 +5,13 @@ jQuery UI Button - Default functionality - - - - - + diff --git a/demos/button/icons.html b/demos/button/icons.html index a8deca9cd..af4e3000c 100644 --- a/demos/button/icons.html +++ b/demos/button/icons.html @@ -5,13 +5,9 @@ jQuery UI Button - Icons - - - - - + @@ -41,7 +36,6 @@ -

CSS

diff --git a/demos/button/splitbutton.html b/demos/button/splitbutton.html deleted file mode 100644 index 6b7562d68..000000000 --- a/demos/button/splitbutton.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - jQuery UI Button - Split button - - - - - - - - - - - - - -
-
- - -
-
    -
  • Open...
  • -
  • Save
  • -
  • Delete
  • -
-
- -
-

An example of a split button built with two buttons: A plain button with just text, one with only a primary icon -and no text. Both are grouped together in a set.

-
- - diff --git a/demos/button/toolbar.html b/demos/button/toolbar.html deleted file mode 100644 index f2c242f1f..000000000 --- a/demos/button/toolbar.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - jQuery UI Button - Toolbar - - - - - - - - - - - -
- - - - - - - - - - - - - - -
- -
-

- A mediaplayer toolbar. Take a look at the underlying markup: A few button elements, - an input of type checkbox for the Shuffle button, and three inputs of type radio for the Repeat options. -

-
- - diff --git a/demos/checkboxradio/default.html b/demos/checkboxradio/default.html index c8f4c5566..c8c1a800d 100644 --- a/demos/checkboxradio/default.html +++ b/demos/checkboxradio/default.html @@ -4,17 +4,12 @@ jQuery UI Checkboxradio - Default functionality - - - - - + diff --git a/demos/checkboxradio/no-icons.html b/demos/checkboxradio/no-icons.html index 64b511246..c738d8ca8 100644 --- a/demos/checkboxradio/no-icons.html +++ b/demos/checkboxradio/no-icons.html @@ -4,17 +4,12 @@ jQuery UI Checkboxradio - No Icons - - - - - + diff --git a/demos/checkboxradio/product-selector.html b/demos/checkboxradio/product-selector.html index f8da07118..4e6db4507 100644 --- a/demos/checkboxradio/product-selector.html +++ b/demos/checkboxradio/product-selector.html @@ -4,14 +4,9 @@ jQuery UI Checkboxradio - Product Selector - - - - - - +