Преглед на файлове

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) {