Merge pull request #168 from jorix/Docs-issues3

Some problems in the documentation
This commit is contained in:
Éric Lemoine
2012-03-06 00:05:52 -08:00
45 changed files with 106 additions and 58 deletions

View File

@@ -348,7 +348,7 @@ OpenLayers.Protocol.Script = OpenLayers.Class(OpenLayers.Protocol, {
* Register a callback for a newly created script.
*
* Parameters:
* callback: {Function} The callback to be executed when the newly added
* callback - {Function} The callback to be executed when the newly added
* script loads. This callback will be called with a single argument
* that is the JSON returned by the service.
*
@@ -368,7 +368,7 @@ OpenLayers.Protocol.Script = OpenLayers.Class(OpenLayers.Protocol, {
* Unregister a callback previously registered with the register function.
*
* Parameters:
* id: {Number} The identifer returned by the register function.
* id - {Number} The identifer returned by the register function.
*/
o.unregister = function(id) {
delete o.registry[id];