[Mapbender-commits] r5651 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Feb 25 05:06:20 EST 2010
Author: christoph
Date: 2010-02-25 05:06:20 -0500 (Thu, 25 Feb 2010)
New Revision: 5651
Modified:
trunk/mapbender/lib/basic.js
Log:
Modified: trunk/mapbender/lib/basic.js
===================================================================
--- trunk/mapbender/lib/basic.js 2010-02-25 10:04:07 UTC (rev 5650)
+++ trunk/mapbender/lib/basic.js 2010-02-25 10:06:20 UTC (rev 5651)
@@ -23,27 +23,27 @@
* Passing no arguments will return the API object of the Mapbender element
* associated with the DOM element, usage
*
- * var api = $("#myelement").mapbender();
+ * > var api = $("#myelement").mapbender();
*
* Passing an object serves as a setter: the object is the new API object
* associated with the DOM element, usage
*
- * $("#myelement").mapbender(new CustomApiObject());
+ * > $("#myelement").mapbender(new CustomApiObject());
*
* Passing a string serves as an attribute getter. It returns the value of
* any public attribute of the API object, usage
*
- * $("#myelement").mapbender("aSpecificAttribute")
+ * > $("#myelement").mapbender("aSpecificAttribute")
*
* Passing a function executes the function in the scope of the API object.
* This is a shortcut to fetching the API object first, and then calling its
* method. By this, you don't need to check whether the API object exists,
* if none exists, the function is simply not executed. Usage
*
- * $("#myelement").mapbender(function () {
- * // this refers to the API object!!
- * console.log(this.options);
- * });
+ * > $("#myelement").mapbender(function () {
+ * > // this refers to the API object!!
+ * > console.log(this.options);
+ * > });
*
*
* Files:
More information about the Mapbender_commits
mailing list