Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
seleniumhq
GitHub Repository: seleniumhq/selenium
Path: blob/trunk/third_party/closure/goog/module/module.js
2868 views
1
// Copyright 2006 The Closure Library Authors. All Rights Reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS-IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
/**
16
*
17
* @fileoverview This class supports the dynamic loading of compiled
18
* javascript modules at runtime, as described in the designdoc.
19
*
20
* <http://go/js_modules_design>
21
*
22
*/
23
24
goog.provide('goog.module');
25
26
// TODO(johnlenz): Here we explicitly initialize the namespace to avoid
27
// problems with the goog.module method in base.js. We should rename this
28
// entire package to goog.loader and then we can delete this file.
29
//
30
// However, note that it is tricky to do that without breaking the world.
31
/**
32
* @suppress {duplicate}
33
* @type {function(string):void}
34
*/
35
goog.module = goog.module || {};
36
37