change the '@require:' to '@requires' so as to be compatible with JSDOC standards. put these directly inside the class definition comment block. update script to suggest this and update all source files to follow pattern. Caught a missing @requires in the EventPane.js file

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1206 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-14 23:05:05 +00:00
parent 841fdcbfb3
commit c1b8c8dd60
41 changed files with 161 additions and 114 deletions
+13 -5
View File
@@ -11,7 +11,9 @@
/** /**
* @class This class represents a screen coordinate, in x and y coordinates * @class
*
* This class represents a screen coordinate, in x and y coordinates
*/ */
OpenLayers.Pixel = Class.create(); OpenLayers.Pixel = Class.create();
OpenLayers.Pixel.prototype = { OpenLayers.Pixel.prototype = {
@@ -109,7 +111,9 @@ OpenLayers.Pixel.prototype = {
/** /**
* @class This class represents a width and height pair * @class
*
* This class represents a width and height pair
*/ */
OpenLayers.Size = Class.create(); OpenLayers.Size = Class.create();
OpenLayers.Size.prototype = { OpenLayers.Size.prototype = {
@@ -188,7 +192,9 @@ OpenLayers.Size.prototype = {
/** /**
* @class This class represents a longitude and latitude pair * @class
*
* This class represents a longitude and latitude pair
*/ */
OpenLayers.LonLat = Class.create(); OpenLayers.LonLat = Class.create();
OpenLayers.LonLat.prototype = { OpenLayers.LonLat.prototype = {
@@ -308,8 +314,10 @@ OpenLayers.LonLat.fromString = function(str) {
/** /**
* @class This class represents a bounding box. * @class
* Data stored as left, bottom, right, top floats *
* This class represents a bounding box.
* Data stored as left, bottom, right, top floats
*/ */
OpenLayers.Bounds = Class.create(); OpenLayers.Bounds = Class.create();
OpenLayers.Bounds.prototype = { OpenLayers.Bounds.prototype = {
+2 -1
View File
@@ -1,10 +1,11 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Control.js
/** /**
* @class * @class
*
* @requires OpenLayers/Control.js
*/ */
OpenLayers.Control.KeyboardDefaults = Class.create(); OpenLayers.Control.KeyboardDefaults = Class.create();
OpenLayers.Control.KeyboardDefaults.prototype = OpenLayers.Control.KeyboardDefaults.prototype =
+4 -4
View File
@@ -2,11 +2,11 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Control.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Control.js
*/
OpenLayers.Control.LayerSwitcher = Class.create(); OpenLayers.Control.LayerSwitcher = Class.create();
OpenLayers.Control.LayerSwitcher.prototype = OpenLayers.Control.LayerSwitcher.prototype =
Object.extend( new OpenLayers.Control(), { Object.extend( new OpenLayers.Control(), {
+5 -3
View File
@@ -1,10 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Control.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Control.js
*/
OpenLayers.Control.LayerTabs = Class.create(); OpenLayers.Control.LayerTabs = Class.create();
/** color used in the UI to show a layer is active/displayed /** color used in the UI to show a layer is active/displayed
+2 -2
View File
@@ -1,11 +1,11 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Control.js
/** /**
* @class * @class
*
* @requires OpenLayers/Control.js
*/ */
OpenLayers.Control.MouseDefaults = Class.create(); OpenLayers.Control.MouseDefaults = Class.create();
OpenLayers.Control.MouseDefaults.prototype = OpenLayers.Control.MouseDefaults.prototype =
+6 -1
View File
@@ -1,7 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Control.js
/**
* @class
*
* @requires OpenLayers/Control.js
*/
OpenLayers.Control.MouseToolbar = Class.create(); OpenLayers.Control.MouseToolbar = Class.create();
OpenLayers.Control.MouseToolbar.X = 6; OpenLayers.Control.MouseToolbar.X = 6;
OpenLayers.Control.MouseToolbar.Y = 300; OpenLayers.Control.MouseToolbar.Y = 300;
+1 -2
View File
@@ -1,12 +1,11 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Control.js
/** /**
* @class * @class
* *
* default zoom/pan controls * @requires OpenLayers/Control.js
*/ */
OpenLayers.Control.PanZoom = Class.create(); OpenLayers.Control.PanZoom = Class.create();
OpenLayers.Control.PanZoom.X = 4; OpenLayers.Control.PanZoom.X = 4;
+5 -4
View File
@@ -1,11 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Control/PanZoom.js
// /**
// default zoom/pan controls * @class
// *
* @requires OpenLayers/Control/PanZoom.js
*/
OpenLayers.Control.PanZoomBar = Class.create(); OpenLayers.Control.PanZoomBar = Class.create();
OpenLayers.Control.PanZoomBar.X = 4; OpenLayers.Control.PanZoomBar.X = 4;
OpenLayers.Control.PanZoomBar.Y = 4; OpenLayers.Control.PanZoomBar.Y = 4;
+2 -3
View File
@@ -2,11 +2,10 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Control.js
/** /**
* @class * @class
*
* @requires OpenLayers/Control.js
*/ */
OpenLayers.Control.Permalink = Class.create(); OpenLayers.Control.Permalink = Class.create();
OpenLayers.Control.Permalink.prototype = OpenLayers.Control.Permalink.prototype =
+2 -2
View File
@@ -2,10 +2,10 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Control.js
/** /**
* @class * @class
*
* @requires OpenLayers/Control.js
*/ */
OpenLayers.Control.Scale = Class.create(); OpenLayers.Control.Scale = Class.create();
OpenLayers.Control.Scale.prototype = OpenLayers.Control.Scale.prototype =
+3 -3
View File
@@ -2,9 +2,9 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
/** /**
* @class * @class
*/ */
OpenLayers.Events = Class.create(); OpenLayers.Events = Class.create();
OpenLayers.Events.prototype = { OpenLayers.Events.prototype = {
+1 -2
View File
@@ -2,10 +2,9 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Util.js
/** /**
* @class * @class
*
* @requires OpenLayers/Util.js * @requires OpenLayers/Util.js
*/ */
OpenLayers.Feature = Class.create(); OpenLayers.Feature = Class.create();
+3 -4
View File
@@ -2,11 +2,10 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Feature.js
/** /**
* @class * @class
* @require: OpenLayers/Feature.js *
* @requires OpenLayers/Feature.js
*/ */
OpenLayers.Feature.WFS = Class.create(); OpenLayers.Feature.WFS = Class.create();
OpenLayers.Feature.WFS.prototype = OpenLayers.Feature.WFS.prototype =
+3 -2
View File
@@ -1,9 +1,10 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
/** /**
* @class * @class
*/ */
OpenLayers.Icon = Class.create(); OpenLayers.Icon = Class.create();
OpenLayers.Icon.prototype = { OpenLayers.Icon.prototype = {
+1
View File
@@ -1,6 +1,7 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
/** /**
* @class * @class
*/ */
+6 -4
View File
@@ -1,11 +1,13 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer.js
// @require: OpenLayers/Layer/Markers.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Layer.js
* @requires OpenLayers/Layer/Markers.js
*/
OpenLayers.Layer.Boxes = Class.create(); OpenLayers.Layer.Boxes = Class.create();
OpenLayers.Layer.Boxes.prototype = OpenLayers.Layer.Boxes.prototype =
Object.extend( new OpenLayers.Layer.Markers(), { Object.extend( new OpenLayers.Layer.Markers(), {
+3
View File
@@ -1,8 +1,11 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
/** /**
* @class * @class
*
* @requires OpenLayers/Layer.js
*/ */
OpenLayers.Layer.EventPane = Class.create(); OpenLayers.Layer.EventPane = Class.create();
OpenLayers.Layer.EventPane.prototype = Object.extend(new OpenLayers.Layer, { OpenLayers.Layer.EventPane.prototype = Object.extend(new OpenLayers.Layer, {
+4 -3
View File
@@ -1,11 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer/Markers.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Layer/Markers.js
*/
OpenLayers.Layer.GeoRSS = Class.create(); OpenLayers.Layer.GeoRSS = Class.create();
OpenLayers.Layer.GeoRSS.prototype = OpenLayers.Layer.GeoRSS.prototype =
Object.extend( new OpenLayers.Layer.Markers(), { Object.extend( new OpenLayers.Layer.Markers(), {
+2 -3
View File
@@ -2,9 +2,6 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer.js
if (typeof GMap2 != "undefined") { if (typeof GMap2 != "undefined") {
/** Hack-on function because GMAPS does not give it to us /** Hack-on function because GMAPS does not give it to us
@@ -33,6 +30,8 @@ if (typeof GMap2 != "undefined") {
/** /**
* @class * @class
*
* @requires OpenLayers/Layer.js
*/ */
OpenLayers.Layer.Google = Class.create(); OpenLayers.Layer.Google = Class.create();
OpenLayers.Layer.Google.prototype = OpenLayers.Layer.Google.prototype =
+2 -2
View File
@@ -2,10 +2,10 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer/HTTPRequest.js
/** /**
* @class * @class
*
* @requires OpenLayers/Layer/HTTPRequest.js
*/ */
OpenLayers.Layer.Grid = Class.create(); OpenLayers.Layer.Grid = Class.create();
OpenLayers.Layer.Grid.prototype = OpenLayers.Layer.Grid.prototype =
+2 -2
View File
@@ -2,10 +2,10 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer.js
/** /**
* @class * @class
*
* @requires OpenLayers/Layer.js
*/ */
OpenLayers.Layer.HTTPRequest = Class.create(); OpenLayers.Layer.HTTPRequest = Class.create();
OpenLayers.Layer.HTTPRequest.prototype = OpenLayers.Layer.HTTPRequest.prototype =
+5 -5
View File
@@ -1,13 +1,13 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer/Grid.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Layer/Grid.js
*/
OpenLayers.Layer.KaMap = Class.create(); OpenLayers.Layer.KaMap = Class.create();
OpenLayers.Layer.KaMap.prototype = OpenLayers.Layer.KaMap.prototype =
Object.extend( new OpenLayers.Layer.Grid(), { Object.extend( new OpenLayers.Layer.Grid(), {
+5 -3
View File
@@ -1,10 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Layer.js
*/
OpenLayers.Layer.Markers = Class.create(); OpenLayers.Layer.Markers = Class.create();
OpenLayers.Layer.Markers.prototype = OpenLayers.Layer.Markers.prototype =
Object.extend( new OpenLayers.Layer(), { Object.extend( new OpenLayers.Layer(), {
+4 -3
View File
@@ -1,11 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer/Markers.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Layer/Markers.js
*/
OpenLayers.Layer.Text = Class.create(); OpenLayers.Layer.Text = Class.create();
OpenLayers.Layer.Text.prototype = OpenLayers.Layer.Text.prototype =
Object.extend( new OpenLayers.Layer.Markers(), { Object.extend( new OpenLayers.Layer.Markers(), {
+3 -3
View File
@@ -2,10 +2,10 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer.js
/** /**
* @class * @class
*
* @requires OpenLayers/Layer.js
*/ */
OpenLayers.Layer.VirtualEarth = Class.create(); OpenLayers.Layer.VirtualEarth = Class.create();
OpenLayers.Layer.VirtualEarth.prototype = OpenLayers.Layer.VirtualEarth.prototype =
+6 -4
View File
@@ -1,11 +1,13 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer/Grid.js
// @require: OpenLayers/Layer/Markers.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Layer/Grid.js
* @requires OpenLayers/Layer/Markers.js
*/
OpenLayers.Layer.WFS = Class.create(); OpenLayers.Layer.WFS = Class.create();
OpenLayers.Layer.WFS.prototype = OpenLayers.Layer.WFS.prototype =
Object.extend(new OpenLayers.Layer.Grid(), Object.extend(new OpenLayers.Layer.Grid(),
+5 -3
View File
@@ -1,10 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer/Grid.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Layer/Grid.js
*/
OpenLayers.Layer.WMS = Class.create(); OpenLayers.Layer.WMS = Class.create();
OpenLayers.Layer.WMS.prototype = OpenLayers.Layer.WMS.prototype =
Object.extend( new OpenLayers.Layer.Grid(), { Object.extend( new OpenLayers.Layer.Grid(), {
+4 -4
View File
@@ -2,11 +2,11 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer/HTTPRequest.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Layer/HTTPRequest.js
*/
OpenLayers.Layer.WMS.Untiled = Class.create(); OpenLayers.Layer.WMS.Untiled = Class.create();
OpenLayers.Layer.WMS.Untiled.prototype = OpenLayers.Layer.WMS.Untiled.prototype =
Object.extend( new OpenLayers.Layer.HTTPRequest(), { Object.extend( new OpenLayers.Layer.HTTPRequest(), {
+5 -3
View File
@@ -1,10 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer/Grid.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Layer/Grid.js
*/
OpenLayers.Layer.WorldWind = Class.create(); OpenLayers.Layer.WorldWind = Class.create();
OpenLayers.Layer.WorldWind.prototype = OpenLayers.Layer.WorldWind.prototype =
Object.extend( new OpenLayers.Layer.Grid(), { Object.extend( new OpenLayers.Layer.Grid(), {
+4 -3
View File
@@ -1,13 +1,14 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Layer.js
// load Yahoo map control script // load Yahoo map control script
document.write("<script src='http://api.maps.yahoo.com/ajaxymap?v=3.0&appid=euzuro-openlayers'></script>"); document.write("<script src='http://api.maps.yahoo.com/ajaxymap?v=3.0&appid=euzuro-openlayers'></script>");
/** /**
* @class * @class
*
* @requires OpenLayers/Layer.js
*/ */
OpenLayers.Layer.Yahoo = Class.create(); OpenLayers.Layer.Yahoo = Class.create();
OpenLayers.Layer.Yahoo.prototype = Object.extend( new OpenLayers.Layer(), { OpenLayers.Layer.Yahoo.prototype = Object.extend( new OpenLayers.Layer(), {
+3 -3
View File
@@ -2,11 +2,11 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Util.js
// @require: OpenLayers/Events.js
/** /**
* @class * @class
*
* @requires OpenLayers/Util.js
* @requires OpenLayers/Events.js
*/ */
OpenLayers.Map = Class.create(); OpenLayers.Map = Class.create();
OpenLayers.Map.TILE_WIDTH = 256; OpenLayers.Map.TILE_WIDTH = 256;
+3 -2
View File
@@ -1,9 +1,10 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
/** /**
* @class * @class
*/ */
OpenLayers.Marker = Class.create(); OpenLayers.Marker = Class.create();
OpenLayers.Marker.prototype = { OpenLayers.Marker.prototype = {
+5 -3
View File
@@ -1,10 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Marker.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Marker.js
*/
OpenLayers.Marker.Box = Class.create(); OpenLayers.Marker.Box = Class.create();
OpenLayers.Marker.Box.prototype = Object.extend( new OpenLayers.Marker(), { OpenLayers.Marker.Box.prototype = Object.extend( new OpenLayers.Marker(), {
/** @type OpenLayers.LonLat */ /** @type OpenLayers.LonLat */
+3 -2
View File
@@ -1,9 +1,10 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
/** /**
* @class * @class
*/ */
OpenLayers.Popup = Class.create(); OpenLayers.Popup = Class.create();
OpenLayers.Popup.count = 0; OpenLayers.Popup.count = 0;
+4 -3
View File
@@ -1,11 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Popup.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Popup.js
*/
OpenLayers.Popup.Anchored = Class.create(); OpenLayers.Popup.Anchored = Class.create();
OpenLayers.Popup.Anchored.prototype = OpenLayers.Popup.Anchored.prototype =
Object.extend( new OpenLayers.Popup(), { Object.extend( new OpenLayers.Popup(), {
+4 -3
View File
@@ -1,11 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Popup/Anchored.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Popup/Anchored.js
*/
OpenLayers.Popup.AnchoredBubble = Class.create(); OpenLayers.Popup.AnchoredBubble = Class.create();
//Border space for the rico corners //Border space for the rico corners
+4 -3
View File
@@ -1,10 +1,11 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
/* /*
* OpenLayers.Tile * @class
* *
* @class This is a class designed to designate a single tile, however * This is a class designed to designate a single tile, however
* it is explicitly designed to do relatively little. Tiles store information * it is explicitly designed to do relatively little. Tiles store information
* about themselves -- such as the URL that they are related to, and their * about themselves -- such as the URL that they are related to, and their
* size - but do not add themselves to the layer div automatically, for * size - but do not add themselves to the layer div automatically, for
+4 -4
View File
@@ -2,11 +2,11 @@
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Tile.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Tile.js
*/
OpenLayers.Tile.Image = Class.create(); OpenLayers.Tile.Image = Class.create();
OpenLayers.Tile.Image.prototype = OpenLayers.Tile.Image.prototype =
Object.extend( new OpenLayers.Tile(), { Object.extend( new OpenLayers.Tile(), {
+5 -3
View File
@@ -1,10 +1,12 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */ * text of the license. */
// @require: OpenLayers/Tile.js
/** /**
* @class * @class
*/ *
* @requires OpenLayers/Tile.js
*/
OpenLayers.Tile.WFS = Class.create(); OpenLayers.Tile.WFS = Class.create();
OpenLayers.Tile.WFS.prototype = OpenLayers.Tile.WFS.prototype =
Object.extend( new OpenLayers.Tile(), { Object.extend( new OpenLayers.Tile(), {
+2 -2
View File
@@ -3,8 +3,8 @@
* text of the license. */ * text of the license. */
/** /**
* @class * @class
*/ */
OpenLayers.Util = new Object(); OpenLayers.Util = new Object();
/** /**
+11 -3
View File
@@ -7,11 +7,19 @@
# #
# Dependencies are specified with a comment of the form: # Dependencies are specified with a comment of the form:
# #
# // @require: <file path> # // @requires <file path>
# #
# e.g. # e.g.
# #
# // @require: Geo/DataSource.js # // @requires Geo/DataSource.js
#
# or (ideally) within a class comment definition
#
# /**
# * @class
# *
# * @requires OpenLayers/Layer.js
# */
# #
# This script should be executed like so: # This script should be executed like so:
# #
@@ -43,7 +51,7 @@ import sys
SUFFIX_JAVASCRIPT = ".js" SUFFIX_JAVASCRIPT = ".js"
RE_REQUIRE = "@require: (.*)\n" # TODO: Ensure in comment? RE_REQUIRE = "@requires (.*)\n" # TODO: Ensure in comment?
class SourceFile: class SourceFile:
""" """
Represents a Javascript source code file. Represents a Javascript source code file.