[OpenLayers-Commits] r10987 - sandbox/tschaub/uncircular/lib/Rico

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Sat Jan 1 17:46:36 EST 2011


Author: tschaub
Date: 2011-01-01 14:46:36 -0800 (Sat, 01 Jan 2011)
New Revision: 10987

Modified:
   sandbox/tschaub/uncircular/lib/Rico/Color.js
   sandbox/tschaub/uncircular/lib/Rico/Corner.js
Log:
Set Rico namespace in correct place.

Modified: sandbox/tschaub/uncircular/lib/Rico/Color.js
===================================================================
--- sandbox/tschaub/uncircular/lib/Rico/Color.js	2011-01-01 22:42:17 UTC (rev 10986)
+++ sandbox/tschaub/uncircular/lib/Rico/Color.js	2011-01-01 22:46:36 UTC (rev 10987)
@@ -1,3 +1,8 @@
+/** 
+ * @requires OpenLayers/BaseTypes/Class.js
+ */
+
+
 /*
  * This file has been edited substantially from the Rico-released version by
  * the OpenLayers development team.
@@ -4,6 +9,7 @@
  *
  * This file is licensed under the Apache License, Version 2.0.
  */
+OpenLayers.Rico = OpenLayers.Rico || {};
 OpenLayers.Rico.Color = OpenLayers.Class({
 
    initialize: function(red, green, blue) {

Modified: sandbox/tschaub/uncircular/lib/Rico/Corner.js
===================================================================
--- sandbox/tschaub/uncircular/lib/Rico/Corner.js	2011-01-01 22:42:17 UTC (rev 10986)
+++ sandbox/tschaub/uncircular/lib/Rico/Corner.js	2011-01-01 22:46:36 UTC (rev 10987)
@@ -21,8 +21,8 @@
  * implied. See the License for the specific language governing
  * permissions * and limitations under the License.
  *
- */  
-OpenLayers.Rico = new Object();
+ */
+OpenLayers.Rico = OpenLayers.Rico || {};
 OpenLayers.Rico.Corner = {
 
     round: function(e, options) {



More information about the Commits mailing list