Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Typo fix Postion to Position #454

Closed
wants to merge 1 commit into from

2 participants

@betelgeuse

No description provided.

@jferris
Admin

Thanks. This is on master.

@jferris jferris closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 30, 2013
  1. @betelgeuse
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/capybara.js
View
6 src/capybara.js
@@ -286,7 +286,7 @@ Capybara = {
this.trigger(index, "change");
},
- centerPostion: function(element) {
+ centerPosition: function(element) {
this.reflow(element);
var rect = element.getBoundingClientRect();
var position = {
@@ -320,7 +320,7 @@ Capybara = {
dragTo: function (index, targetIndex) {
var element = this.nodes[index], target = this.nodes[targetIndex];
- var position = this.centerPostion(element);
+ var position = this.centerPosition(element);
var options = {
clientX: position.x,
clientY: position.y
@@ -335,7 +335,7 @@ Capybara = {
options.clientY += 1;
mouseTrigger('mousemove', options);
- position = this.centerPostion(target);
+ position = this.centerPosition(target);
options = {
clientX: position.x,
clientY: position.y
Something went wrong with that request. Please try again.