From 366fd75d97b1a20e20eab61c234c082e8fbed99b Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 30 Jun 2011 05:18:00 +0000 Subject: [PATCH] Syntax highlighting with (code)blocks(end). git-svn-id: http://svn.openlayers.org/trunk/openlayers@12134 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/BaseTypes/Bounds.js | 10 ++++++---- lib/OpenLayers/BaseTypes/Class.js | 12 ++++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) 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() {