Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu authored and wodor committed Jan 17, 2012
1 parent 203668b commit 2680e92
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Model/Map.php
Expand Up @@ -22,7 +22,7 @@ class Map extends AbstractJavascriptVariableAsset
protected $htmlContainerId = 'map_canvas';

/**
* @var boolean TRUE if the map loads asyncronous else FALSE
* @var boolean TRUE if the map loads asynchronous else FALSE
*/
protected $async = false;

Expand Down Expand Up @@ -179,26 +179,26 @@ public function setHtmlContainerId($htmlContainerId)
}

/**
* Check if the map loads is asyncronous
* Check if the map loads is asynchronous
*
* @return boolean TRUE if the map loads is asyncronous else FALSE
* @return boolean TRUE if the map load is asynchronous else FALSE
*/
public function isAsync()
{
return $this->async;
}

/**
* Sets if the map loads asyncronous
* Sets if the map loads asynchronous
*
* @param boolean $async TRUE if the map loads asyncronous else FALSE
* @param boolean $async TRUE if the map loads asynchronous else FALSE
*/
public function setAsync($async)
{
if(is_bool($async))
$this->async = $async;
else
throw new \InvalidArgumentException('The asyncronous load of a map must be a boolean value.');
throw new \InvalidArgumentException('The asynchronous load of a map must be a boolean value.');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Resources/doc/usage/map.md
Expand Up @@ -18,7 +18,7 @@ ivory_google_map:
# HTML container ID used for the map container
html_container: "map_canvas"
# If this flag is enabled, the map will load asyncronous
# If this flag is enabled, the map will load asynchronous
async: false
# If this flag is enabled, the map will autozoom on the overlays added
Expand Down
2 changes: 1 addition & 1 deletion Tests/Model/MapTest.php
Expand Up @@ -101,7 +101,7 @@ public function testHtmlContainerId()
}

/**
* Checks the asyncronous load getter & setter
* Checks the asynchronous map load getter & setter
*/
public function testAsync()
{
Expand Down

0 comments on commit 2680e92

Please sign in to comment.