diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-02-12 09:14:36 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-02-12 09:14:36 -0500 |
commit | 4f909c50bad9cbdf4789d272ada71c51fa1226d3 (patch) | |
tree | 754a41f9ad982dcd9be686521fb18f8d030c269b /tests/jquery.simulate.js | |
parent | 609243b21d2530ecd5e8e19e99951decc8587285 (diff) | |
download | jquery-ui-4f909c50bad9cbdf4789d272ada71c51fa1226d3.tar.gz jquery-ui-4f909c50bad9cbdf4789d272ada71c51fa1226d3.zip |
Demos, Tests: Remove use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;'
Diffstat (limited to 'tests/jquery.simulate.js')
-rw-r--r-- | tests/jquery.simulate.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/jquery.simulate.js b/tests/jquery.simulate.js index a8740e6b8..43614dd0a 100644 --- a/tests/jquery.simulate.js +++ b/tests/jquery.simulate.js @@ -157,8 +157,7 @@ $.extend( $.simulate.prototype, { }, drag: function( el ) { - var self = this, - center = this.findCenter(this.target), + var center = this.findCenter(this.target), options = this.options, x = Math.floor( center.x ), y = Math.floor( center.y ), |