diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-14 08:37:53 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-06-03 08:37:45 -0400 |
commit | d4719bf6160a0c99273abddc42e39a734e9943a2 (patch) | |
tree | e9dc48912370ecf7f781e1df554c23ed33cf52f8 /tests/unit/spinner/common-deprecated.js | |
parent | c2224bf5dc418c84c185844611786b9ccfb869a7 (diff) | |
download | jquery-ui-d4719bf6160a0c99273abddc42e39a734e9943a2.tar.gz jquery-ui-d4719bf6160a0c99273abddc42e39a734e9943a2.zip |
Spinner: Deprecate _uiSpinnerHtml and _buttonHtml extension points
Fixes #11097
Closes gh-1560
Diffstat (limited to 'tests/unit/spinner/common-deprecated.js')
-rw-r--r-- | tests/unit/spinner/common-deprecated.js | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/unit/spinner/common-deprecated.js b/tests/unit/spinner/common-deprecated.js new file mode 100644 index 000000000..2c40df76a --- /dev/null +++ b/tests/unit/spinner/common-deprecated.js @@ -0,0 +1,35 @@ +define( [ + "lib/common", + "ui/spinner" +], function( common ) { + +common.testWidget( "spinner", { + defaults: { + classes: { + "ui-spinner": "ui-corner-all", + "ui-spinner-up": "ui-corner-tr", + "ui-spinner-down": "ui-corner-br" + }, + culture: null, + disabled: false, + icons: { + down: "ui-icon-triangle-1-s", + up: "ui-icon-triangle-1-n" + }, + incremental: true, + max: null, + min: null, + numberFormat: null, + page: 10, + step: 1, + + // callbacks + change: null, + create: null, + spin: null, + start: null, + stop: null + } +}); + +} ); |