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.
|
||||
*
|
||||
* Possible use case:
|
||||
* > bounds = new OpenLayers.Bounds();
|
||||
* > bounds.extend(new OpenLayers.LonLat(4,5));
|
||||
* > bounds.extend(new OpenLayers.LonLat(5,6));
|
||||
* > bounds.toBBOX(); // returns 4,5,5,6
|
||||
* (code)
|
||||
* bounds = new OpenLayers.Bounds();
|
||||
* bounds.extend(new OpenLayers.LonLat(4,5));
|
||||
* bounds.extend(new OpenLayers.LonLat(5,6));
|
||||
* bounds.toBBOX(); // returns 4,5,5,6
|
||||
* (end)
|
||||
*/
|
||||
OpenLayers.Bounds = OpenLayers.Class({
|
||||
|
||||
|
||||
@@ -17,13 +17,17 @@
|
||||
* will be removed.
|
||||
*
|
||||
* 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
|
||||
* following syntax:
|
||||
* > var MyClass = OpenLayers.Class(Class1, Class2, prototype);
|
||||
* Note that instanceof reflection will only reveil Class1 as superclass.
|
||||
* Class2 ff are mixins.
|
||||
* (code)
|
||||
* var MyClass = OpenLayers.Class(Class1, Class2, prototype);
|
||||
* (end)
|
||||
*
|
||||
* Note that instanceof reflection will only reveal Class1 as superclass.
|
||||
*
|
||||
*/
|
||||
OpenLayers.Class = function() {
|
||||
|
||||
Reference in New Issue
Block a user