1 /*************************************** 2 * Copyright 2011, 2012 GlobWeb contributors. 3 * 4 * This file is part of GlobWeb. 5 * 6 * GlobWeb is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU Lesser General Public License as published by 8 * the Free Software Foundation, version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * GlobWeb is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with GlobWeb. If not, see <http://www.gnu.org/licenses/>. 18 ***************************************/ 19 20 // Declare the AstroWeb namespace 21 define( ["./Globe", 22 "./VectorLayer", "./HEALPixLayer", "./OpenSearchLayer", "./TileWireframeLayer", // Layers 23 "./AstroNavigation", "./FeatureStyle", "./Stats", // Others 24 "./PointSpriteRenderer", "./ConvexPolygonRenderer"], // Renderers 25 function(Globe, VectorLayer, HEALPixLayer, OpenSearchLayer, TileWireframeLayer, AstroNavigation, FeatureStyle, Stats) { 26 27 // Declare AstroWeb 28 var AstroWeb = {}; 29 30 AstroWeb.Globe = Globe; 31 AstroWeb.VectorLayer = VectorLayer; 32 AstroWeb.HEALPixLayer = HEALPixLayer; 33 AstroWeb.OpenSearchLayer = OpenSearchLayer; 34 AstroWeb.TileWireframeLayer = TileWireframeLayer; 35 AstroWeb.AstroNavigation = AstroNavigation; 36 AstroWeb.FeatureStyle = FeatureStyle; 37 AstroWeb.Stats = Stats; 38 39 window.AstroWeb = AstroWeb; 40 41 return AstroWeb; 42 43 });