Merge pull request #168 from jorix/Docs-issues3
Some problems in the documentation
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user