๐Ÿ“ฆ YMFE / ydoc-demo

๐Ÿ“„ _global_-vsdoc.js ยท 27 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* vsdoc for _global_ */

(function (window) {
    

    window._global_ = {
        /// <summary></summary>
        /// <returns type="_global_"/>
                
        formatJs: function(source, escodegenOptions, esprimaOptions) {
            /// <summary>Pretty prints javaScript using esprima and escodegen. Line endings
            ///  will be converted to the value stored in os.EOL</summary>
            /// <param name="source" type="String">The source code to prettify.</param>
            /// <param name="escodegenOptions" type="Object">Optional. Use different settings for
            ///  escodegen.</param>
            /// <param name="esprimaOptions" type="Object">Optional. Use different settings for
            ///  esprima.</param>
        }
        
    };

    var $x = window._global_;
    $x.__namespace = "true";
    $x.__typeName = "_global_";
})(this);