Syntax highlighting with (code)blocks(end).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12134 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -16,10 +16,12 @@
|
|||||||
* you should make sure you set them before using the bounds for anything.
|
* you should make sure you set them before using the bounds for anything.
|
||||||
*
|
*
|
||||||
* Possible use case:
|
* Possible use case:
|
||||||
* > bounds = new OpenLayers.Bounds();
|
* (code)
|
||||||
* > bounds.extend(new OpenLayers.LonLat(4,5));
|
* bounds = new OpenLayers.Bounds();
|
||||||
* > bounds.extend(new OpenLayers.LonLat(5,6));
|
* bounds.extend(new OpenLayers.LonLat(4,5));
|
||||||
* > bounds.toBBOX(); // returns 4,5,5,6
|
* bounds.extend(new OpenLayers.LonLat(5,6));
|
||||||
|
* bounds.toBBOX(); // returns 4,5,5,6
|
||||||
|
* (end)
|
||||||
*/
|
*/
|
||||||
OpenLayers.Bounds = OpenLayers.Class({
|
OpenLayers.Bounds = OpenLayers.Class({
|
||||||
|
|
||||||
|
|||||||
@@ -17,13 +17,17 @@
|
|||||||
* will be removed.
|
* will be removed.
|
||||||
*
|
*
|
||||||
* To create a new OpenLayers-style class, use the following syntax:
|
* To create a new OpenLayers-style class, use the following syntax:
|
||||||
* > var MyClass = OpenLayers.Class(prototype);
|
* (code)
|
||||||
|
* var MyClass = OpenLayers.Class(prototype);
|
||||||
|
* (end)
|
||||||
*
|
*
|
||||||
* To create a new OpenLayers-style class with multiple inheritance, use the
|
* To create a new OpenLayers-style class with multiple inheritance, use the
|
||||||
* following syntax:
|
* following syntax:
|
||||||
* > var MyClass = OpenLayers.Class(Class1, Class2, prototype);
|
* (code)
|
||||||
* Note that instanceof reflection will only reveil Class1 as superclass.
|
* var MyClass = OpenLayers.Class(Class1, Class2, prototype);
|
||||||
* Class2 ff are mixins.
|
* (end)
|
||||||
|
*
|
||||||
|
* Note that instanceof reflection will only reveal Class1 as superclass.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
OpenLayers.Class = function() {
|
OpenLayers.Class = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user