<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # JS規范及使用工具 ## 一:JS規范 關鍵詞書寫格式為: ``` /** * @author ydr.me * @version 1.0 */ ``` 使用`@key desc`格式來書寫,常用的關鍵詞有: |關鍵詞|描述| | --- | --- | | @auhor|作者| |@param|參數| |@example|示例| |@link|鏈接| |@namespace|命名空間| |@requires|依賴模塊| |@return|返回值| |@version|版本號| ## 二:使用工具-Sublime插件 DocBlockr ### 1、DocBlockr安裝 官方網址:https://github.com/spadgos/sublime-jsdocs/ 在官方的`README.md` 附安裝方法和使用方法。 ### 2、DocBlockr使用 A、先寫完你的函數 ``` function testFunction(a, b, c) { } ``` B、然后在函數的前面一行,輸入 ``` /** ``` C、然后回車,自動生成 ``` /** * [testFunction description] * @param {[type]} a [description] * @param {[type]} b [description] * @param {[type]} c [description] * @return {[type]} [description] */ function testFunction(a, b, c) { } ``` D、并且在注釋塊中,按@鍵可以展開關鍵詞: >注:我這里好像提示不了,如有看到的,請在評論里給予幫助! ![](https://box.kancloud.cn/83986639df7e80cb57311952d3c0e6dd_447x376.jpg)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看