Skip to content

Commit

Permalink
LukeIS: it's xoffset not xOffset for touch wire calls
Browse files Browse the repository at this point in the history
r16365
  • Loading branch information
lukeis committed Mar 22, 2012
1 parent 79942be commit b3902f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wire.py
Original file line number Diff line number Diff line change
Expand Up @@ -1262,18 +1262,18 @@ def main():
'this command to start scrolling at a particular screen location.').
AddJsonParameter('element', '{string}', 'ID of the element where the '
'scroll starts.').
AddJsonParameter('xOffset', '{number}', 'The x offset in pixels to scroll '
AddJsonParameter('xoffset', '{number}', 'The x offset in pixels to scroll '
'by.').
AddJsonParameter('yOffset', '{number}', 'The y offset in pixels to scroll '
AddJsonParameter('yoffset', '{number}', 'The y offset in pixels to scroll '
'by.'))
resources.append(
SessionResource('session/:sessionId/touch/scroll').
Post('Scroll on the touch screen using finger based motion events. Use '
'this command if you don\'t care where the scroll starts on the '
'screen.').
AddJsonParameter('xOffset', '{number}', 'The x offset in pixels to scroll'
AddJsonParameter('xoffset', '{number}', 'The x offset in pixels to scroll'
'by.').
AddJsonParameter('yOffset', '{number}', 'The y offset in pixels to scroll'
AddJsonParameter('yoffset', '{number}', 'The y offset in pixels to scroll'
'by.'))
resources.append(
SessionResource('session/:sessionId/touch/doubleclick').
Expand All @@ -1291,7 +1291,7 @@ def main():
'command starts at a particulat screen location.').
AddJsonParameter('element', '{string}', 'ID of the element where the '
'flick starts.').
AddJsonParameter('xOffset', '{number}', 'The x offset in pixels to flick '
AddJsonParameter('xoffset', '{number}', 'The x offset in pixels to flick '
'by.').
AddJsonParameter('yOffset', '{number}', 'The y offset in pixels to flick '
'by.').
Expand Down

0 comments on commit b3902f8

Please sign in to comment.