MDL-35616 import YUI 3.7.2
[moodle.git] / lib / yuilib / 3.7.2 / build / overlay / overlay-coverage.js
blob11b3eb2a265f2d6b98797d448c3572eadb19fa93
1 /*
2 YUI 3.7.2 (build 5639)
3 Copyright 2012 Yahoo! Inc. All rights reserved.
4 Licensed under the BSD License.
5 http://yuilibrary.com/license/
6 */
7 if (typeof _yuitest_coverage == "undefined"){
8     _yuitest_coverage = {};
9     _yuitest_coverline = function(src, line){
10         var coverage = _yuitest_coverage[src];
11         if (!coverage.lines[line]){
12             coverage.calledLines++;
13         }
14         coverage.lines[line]++;
15     };
16     _yuitest_coverfunc = function(src, name, line){
17         var coverage = _yuitest_coverage[src],
18             funcId = name + ":" + line;
19         if (!coverage.functions[funcId]){
20             coverage.calledFunctions++;
21         }
22         coverage.functions[funcId]++;
23     };
25 _yuitest_coverage["build/overlay/overlay.js"] = {
26     lines: {},
27     functions: {},
28     coveredLines: 0,
29     calledLines: 0,
30     coveredFunctions: 0,
31     calledFunctions: 0,
32     path: "build/overlay/overlay.js",
33     code: []
35 _yuitest_coverage["build/overlay/overlay.js"].code=["YUI.add('overlay', function (Y, NAME) {","","/**"," * Provides a basic Overlay widget, with Standard Module content support. The Overlay widget"," * provides Page XY positioning support, alignment and centering support along with basic "," * stackable support (z-index and shimming)."," *"," * @module overlay"," */","","/**"," * A basic Overlay Widget, which can be positioned based on Page XY co-ordinates and is stackable (z-index support)."," * It also provides alignment and centering support and uses a standard module format for it's content, with header,"," * body and footer section support."," *"," * @class Overlay"," * @constructor"," * @extends Widget"," * @uses WidgetStdMod"," * @uses WidgetPosition"," * @uses WidgetStack"," * @uses WidgetPositionAlign"," * @uses WidgetPositionConstrain"," * @param {Object} object The user configuration for the instance."," */","Y.Overlay = Y.Base.create(\"overlay\", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain]);","","","}, '3.7.2', {\"requires\": [\"widget\", \"widget-stdmod\", \"widget-position\", \"widget-position-align\", \"widget-stack\", \"widget-position-constrain\"], \"skinnable\": true});"];
36 _yuitest_coverage["build/overlay/overlay.js"].lines = {"1":0,"26":0};
37 _yuitest_coverage["build/overlay/overlay.js"].functions = {"(anonymous 1):1":0};
38 _yuitest_coverage["build/overlay/overlay.js"].coveredLines = 2;
39 _yuitest_coverage["build/overlay/overlay.js"].coveredFunctions = 1;
40 _yuitest_coverline("build/overlay/overlay.js", 1);
41 YUI.add('overlay', function (Y, NAME) {
43 /**
44  * Provides a basic Overlay widget, with Standard Module content support. The Overlay widget
45  * provides Page XY positioning support, alignment and centering support along with basic 
46  * stackable support (z-index and shimming).
47  *
48  * @module overlay
49  */
51 /**
52  * A basic Overlay Widget, which can be positioned based on Page XY co-ordinates and is stackable (z-index support).
53  * It also provides alignment and centering support and uses a standard module format for it's content, with header,
54  * body and footer section support.
55  *
56  * @class Overlay
57  * @constructor
58  * @extends Widget
59  * @uses WidgetStdMod
60  * @uses WidgetPosition
61  * @uses WidgetStack
62  * @uses WidgetPositionAlign
63  * @uses WidgetPositionConstrain
64  * @param {Object} object The user configuration for the instance.
65  */
66 _yuitest_coverfunc("build/overlay/overlay.js", "(anonymous 1)", 1);
67 _yuitest_coverline("build/overlay/overlay.js", 26);
68 Y.Overlay = Y.Base.create("overlay", Y.Widget, [Y.WidgetStdMod, Y.WidgetPosition, Y.WidgetStack, Y.WidgetPositionAlign, Y.WidgetPositionConstrain]);
71 }, '3.7.2', {"requires": ["widget", "widget-stdmod", "widget-position", "widget-position-align", "widget-stack", "widget-position-constrain"], "skinnable": true});