瀏覽代碼

Moved order to a separate variable

Artur Paikin 9 年之前
父節點
當前提交
f55de81f52
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      website/documentation.js

+ 3 - 1
website/documentation.js

@@ -5,7 +5,9 @@ var inject = require('mdast-util-inject');
 var chalk = require('chalk');
 var fs = require('fs');
 
-documentation('../src/index.js', {order: ['Core']}, function (err, comments) {
+var docOrder = ['Core'];
+
+documentation('../src/index.js', {order: docOrder}, function (err, comments) {
   if (err) console.log(err);
 
   documentationFormatter(comments, {}, function (err, output) {