diff options
author | Trey Hunner <treyhunner@gmail.com> | 2012-10-21 18:50:03 -0700 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-10-21 22:45:41 -0400 |
commit | 49f9b849b9c5023f138e8932510b11bfc9765814 (patch) | |
tree | 49df1f705de87c39bd57dfd1a602d3279aab0ba9 /tests/jquery.simulate.js | |
parent | 0bcbfe714621ed181137387745a78d640924247b (diff) | |
download | jquery-ui-49f9b849b9c5023f138e8932510b11bfc9765814.tar.gz jquery-ui-49f9b849b9c5023f138e8932510b11bfc9765814.zip |
Remove trailing whitespace and add final newlines
Diffstat (limited to 'tests/jquery.simulate.js')
-rw-r--r-- | tests/jquery.simulate.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/jquery.simulate.js b/tests/jquery.simulate.js index 790c88c27..08cbaafda 100644 --- a/tests/jquery.simulate.js +++ b/tests/jquery.simulate.js @@ -228,7 +228,7 @@ function findCenter( elem ) { document = $( elem.ownerDocument ); elem = $( elem ); offset = elem.offset(); - + return { x: offset.left + elem.outerWidth() / 2 - document.scrollLeft(), y: offset.top + elem.outerHeight() / 2 - document.scrollTop() @@ -241,7 +241,7 @@ $.extend( $.simulate.prototype, { options = this.options, center = findCenter( target ), x = Math.floor( center.x ), - y = Math.floor( center.y ), + y = Math.floor( center.y ), dx = options.dx || 0, dy = options.dy || 0, coord = { clientX: x, clientY: y }; |