Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

effects.transfer: check the target is fixed or not, and consider scrolling #318

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
29bea45
effects.scale:fix the position after resizing with saving the result …
tomykaira May 16, 2011
9b3fc64
effects.scale:fix the position after resizing with saving the result …
tomykaira May 16, 2011
819e47c
Merge branch 'master' of github.com:tomykaira/jquery-ui
tomykaira May 16, 2011
ca8d70d
effects.scale:[amend] fix the position after resizing with saving the…
tomykaira May 16, 2011
cfc833a
effects.scale: fix the position when top or left is auto. #4316 - Ele…
tomykaira May 18, 2011
4de3f0f
Datepicker: onClose callback should be triggered by show. Fixed #6656…
kzys May 6, 2011
ba2d7f4
Dialog: Changed IE6 overlay width adjustment to apply to all IE versi…
kborchers May 12, 2011
f0400e6
Tabs: Removing queue logic, _hideTab, and _showTab - Replaced with _t…
gnarf May 14, 2011
45ad613
Autocomplete: Trigger search timeout on all input events. Fixes #6666…
treyhunner May 11, 2011
02201ae
Button demo: modified order of selectors. Fixed #7094 - Buttons probl…
bboyle May 16, 2011
8bfbdb1
Datepicker: Made the day of year calculator be more accurate. Fixes #…
fracmak May 14, 2011
1da890e
Tabs: When adding a new tab with an existing panel, don't move it. Fi…
May 16, 2011
41443f9
Tabs: Added tests for load method.
scottgonzalez May 16, 2011
6317615
Tabs: Enable test suites for TestSwarm.
scottgonzalez May 16, 2011
4311cff
Sortable: Changed to check the parent's length so that the dom positi…
kborchers May 16, 2011
db00921
Unit Tests: Cleaning up some code in effects unit tests, removing mag…
gnarf May 16, 2011
0cdc74b
Tabs: Escape all special characters when sanitizing hash selectors. F…
scottgonzalez May 17, 2011
b5633d9
Tabs: Adjust CSS to fix a display issue in IE. Fixes #5520 - Tabs: Bo…
scottgonzalez May 17, 2011
a7189ae
Tabs: Removed some animation cleanup code that doesn't appear to be n…
scottgonzalez May 17, 2011
91ff8d4
Tabs: Fixed CSS when tabs wrap onto multiple lines. Fixes #4882 - Sel…
May 17, 2011
bd0bb45
Tabs: Fixed load event with back compat enabled.
scottgonzalez May 17, 2011
86fb3af
Tabs: Don't cancel existing ajax requests when programmatically loadi…
scottgonzalez May 17, 2011
88cbc69
missing comma
jebaird May 17, 2011
480624b
Spinner: Coding standards.
scottgonzalez May 18, 2011
d652a36
QUnit update
jzaefferer May 18, 2011
4e29ea3
Dialog: Reduce old overlay dimensions to 0x0 to avoid sizing issues. …
scottgonzalez May 18, 2011
a90c92c
Button: Refactored formResetHandler and fixed scope. Foxes #7261 - Re…
scottgonzalez May 18, 2011
f837e0b
Accordion: Added check to not allow 0 height on empty panels causing …
kborchers May 18, 2011
dcaa280
There's no guard against unparsed characters at the end of the date s…
jzaefferer May 18, 2011
6a023aa
CSS: added support for konqueror border-radius. Fixed #6097.
jgv May 18, 2011
e076ad0
Unit Tests & effects.scale: Fixing bugs in effects unit tests - Parti…
gnarf May 18, 2011
a7640ca
Builds: used ant parallel task to run the two closure compiler steps …
May 20, 2011
c02495d
Resizable: Remove workaround for handles not working in IE when trans…
scottgonzalez May 20, 2011
eacddcc
Tagging the 1.9m5 release.
scottgonzalez May 20, 2011
5884aa2
Updating the master version to 1.9pre
scottgonzalez May 20, 2011
280da6e
README: Fixed code samples to be (markdown) indented properly with 4 …
rdworth May 24, 2011
34a8aab
Spinner: Changed casing of option numberformat -> numberFormat.
scottgonzalez May 20, 2011
902c685
effects.blind: Save the wrapper status if already wrapped. Fixes #624…
tomykaira May 25, 2011
7fc07d5
effects.transfer: check the target is fixed or not, and consider scro…
tomykaira May 26, 2011
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Spinner: Changed casing of option numberformat -> numberFormat.
  • Loading branch information
scottgonzalez authored and tomykaira committed May 26, 2011
commit 34a8aab425b1886366fd63e3ddd381db6af529e6
2 changes: 1 addition & 1 deletion demos/spinner/currency.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
max: 2500,
step: 25,
start: 1000,
numberformat: "C"
numberFormat: "C"
});

});
Expand Down
2 changes: 1 addition & 1 deletion demos/spinner/decimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$(function() {
$("#spinner").spinner({
step: 0.01,
numberformat: "n"
numberFormat: "n"
});

$("#culture").change(function() {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/spinner/spinner_defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ commonWidgetTests( "spinner", {
incremental: true,
max: null,
min: null,
numberformat: null,
numberFormat: null,
page: 10,
step: null,
value: null,
Expand Down
14 changes: 7 additions & 7 deletions tests/unit/spinner/spinner_options.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@

module("spinner: options");

test("numberformat, number", function() {
test("numberFormat, number", function() {
var el = $("#spin").spinner({
value: "1",
numberformat: "n"
numberFormat: "n"
});
equal(el.val(), "1.00");
});

test("numberformat, number, simple", function() {
test("numberFormat, number, simple", function() {
var el = $("#spin").spinner({
value: "1",
numberformat: "n0"
numberFormat: "n0"
});
equal(el.val(), "1");
});

test("numberformat, currency", function() {
test("numberFormat, currency", function() {
var el = $("#spin").spinner({
value: "1",
numberformat: "C"
numberFormat: "C"
});
equal(el.val(), "$1.00");
});
Expand Down Expand Up @@ -111,7 +111,7 @@ test("step, 2", function() {
test("step, 0.7", function() {
var el = $("#spin").spinner({
step: 0.7,
numberformat: "n1"
numberFormat: "n1"
});
equals(el.val(), "0.0", "value initialized to");

Expand Down
6 changes: 3 additions & 3 deletions ui/jquery.ui.spinner.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $.widget( "ui.spinner", {
incremental: true,
max: null,
min: null,
numberformat: null,
numberFormat: null,
page: 10,
step: null,
value: null
Expand Down Expand Up @@ -318,13 +318,13 @@ $.widget( "ui.spinner", {

_parse: function( val ) {
if ( typeof val === "string" ) {
val = $.global && this.options.numberformat ? $.global.parseFloat( val ) : +val;
val = $.global && this.options.numberFormat ? $.global.parseFloat( val ) : +val;
}
return isNaN( val ) ? null : val;
},

_format: function( num ) {
this.element.val( $.global && this.options.numberformat ? $.global.format( num, this.options.numberformat ) : num );
this.element.val( $.global && this.options.numberFormat ? $.global.format( num, this.options.numberFormat ) : num );
},

destroy: function() {
Expand Down