Skip to content

Commit

Permalink
Make it possible to exclude Console.js and Lang/en.js for really smal…
Browse files Browse the repository at this point in the history
…l builds. r=bartvde (closes #2882)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10967 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
  • Loading branch information
ahocevar committed Dec 15, 2010
1 parent 4c3d4c7 commit b61cec7
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/OpenLayers/Ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/**
* @requires OpenLayers/Request/XMLHttpRequest.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

OpenLayers.ProxyHost = "";
Expand Down
2 changes: 1 addition & 1 deletion lib/OpenLayers/BaseTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @requires OpenLayers/BaseTypes/Pixel.js
* @requires OpenLayers/BaseTypes/Bounds.js
* @requires OpenLayers/BaseTypes/Element.js
* @requires OpenLayers/Lang/en.js
* @requires OpenLayers/Lang.js
* @requires OpenLayers/Console.js
*/

Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/BaseTypes/Bounds.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

/**
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/BaseTypes/LonLat.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

/**
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/BaseTypes/Pixel.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

/**
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Control/Graticule.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

/**
* @requires OpenLayers/Control.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Control/LayerSwitcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

/**
* @requires OpenLayers/Control.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Control/Permalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/**
* @requires OpenLayers/Control.js
* @requires OpenLayers/Control/ArgParser.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Control/Scale.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/**
* @requires OpenLayers/Control.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Filter/Spatial.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/**
* @requires OpenLayers/Filter.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Format.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/**
* @requires OpenLayers/Util.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Format/GML.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* @requires OpenLayers/Geometry/Polygon.js
* @requires OpenLayers/Geometry/MultiPolygon.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Format/KML.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* @requires OpenLayers/Geometry/Collection.js
* @requires OpenLayers/Request/XMLHttpRequest.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
* @requires OpenLayers/Projection.js
*/

Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Format/WFS.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/**
* @requires OpenLayers/Format/GML.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/OpenLayers/Lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ OpenLayers.Lang = {
*/
translate: function(key, context) {
var dictionary = OpenLayers.Lang[OpenLayers.Lang.getCode()];
var message = dictionary[key];
var message = dictionary && dictionary[key];
if(!message) {
// Message not found, fall back to message key
message = key;
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Layer/GML.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @requires OpenLayers/Layer/Vector.js
* @requires OpenLayers/Request/XMLHttpRequest.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Layer/Google.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @requires OpenLayers/Layer/SphericalMercator.js
* @requires OpenLayers/Layer/EventPane.js
* @requires OpenLayers/Layer/FixedZoomLevels.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Layer/MultiMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/**
* @requires OpenLayers/Layer/EventPane.js
* @requires OpenLayers/Layer/FixedZoomLevels.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Layer/Vector.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @requires OpenLayers/StyleMap.js
* @requires OpenLayers/Feature/Vector.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Layer/VirtualEarth.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @requires OpenLayers/Layer/SphericalMercator.js
* @requires OpenLayers/Layer/EventPane.js
* @requires OpenLayers/Layer/FixedZoomLevels.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Layer/WFS.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @requires OpenLayers/Layer/Vector.js
* @requires OpenLayers/Layer/Markers.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Layer/Yahoo.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @requires OpenLayers/Layer/SphericalMercator.js
* @requires OpenLayers/Layer/EventPane.js
* @requires OpenLayers/Layer/FixedZoomLevels.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @requires OpenLayers/Events.js
* @requires OpenLayers/Tween.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Protocol/HTTP.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* full text of the license. */

/**
* @requires OpenLayers/Console.js
* @requires OpenLayers/Protocol.js
* @requires OpenLayers/Feature/Vector.js
* @requires OpenLayers/Filter/Spatial.js
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/*
* @requires OpenLayers/Util.js
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/*
Expand Down
1 change: 1 addition & 0 deletions lib/OpenLayers/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

/**
* @requires OpenLayers/Console.js
* @requires OpenLayers/Lang.js
*/

/**
Expand Down

0 comments on commit b61cec7

Please sign in to comment.