Browse Source

Moved order to a separate variable

Artur Paikin 9 năm trước cách đây
mục cha
commit
f55de81f52
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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) {