[OpenLayers-Commits] r11966 - trunk/openlayers/lib/OpenLayers
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Wed May 11 04:02:21 EDT 2011
Author: ahocevar
Date: 2011-05-11 01:02:20 -0700 (Wed, 11 May 2011)
New Revision: 11966
Modified:
trunk/openlayers/lib/OpenLayers/Events.js
Log:
fixing APIdoc typos
Modified: trunk/openlayers/lib/OpenLayers/Events.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Events.js 2011-05-10 07:13:22 UTC (rev 11965)
+++ trunk/openlayers/lib/OpenLayers/Events.js 2011-05-11 08:02:20 UTC (rev 11966)
@@ -588,7 +588,7 @@
* Example use:
* (code)
* // register a single listener for the "loadstart" event
- * events.on({"loadstart", loadStartListener});
+ * events.on({"loadstart": loadStartListener});
*
* // this is equivalent to the following
* events.register("loadstart", undefined, loadStartListener);
@@ -602,7 +602,7 @@
*
* // this is equivalent to the following
* events.register("loadstart", object, loadStartListener);
- * events.register("loadstart", object, loadEndListener);
+ * events.register("loadend", object, loadEndListener);
* (end)
*
* Parameters:
@@ -695,7 +695,7 @@
* Example use:
* (code)
* // unregister a single listener for the "loadstart" event
- * events.un({"loadstart", loadStartListener});
+ * events.un({"loadstart": loadStartListener});
*
* // this is equivalent to the following
* events.unregister("loadstart", undefined, loadStartListener);
@@ -709,7 +709,7 @@
*
* // this is equivalent to the following
* events.unregister("loadstart", object, loadStartListener);
- * events.unregister("loadstart", object, loadEndListener);
+ * events.unregister("loadend", object, loadEndListener);
* (end)
*/
un: function(object) {
More information about the Commits
mailing list