diff --git a/lib/OpenLayers/BaseTypes/Bounds.js b/lib/OpenLayers/BaseTypes/Bounds.js index 2924de31dc..a86e8293dd 100644 --- a/lib/OpenLayers/BaseTypes/Bounds.js +++ b/lib/OpenLayers/BaseTypes/Bounds.js @@ -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({ diff --git a/lib/OpenLayers/BaseTypes/Class.js b/lib/OpenLayers/BaseTypes/Class.js index c6c5ffca11..23c7a6278f 100644 --- a/lib/OpenLayers/BaseTypes/Class.js +++ b/lib/OpenLayers/BaseTypes/Class.js @@ -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() {