Explorar el Código

Moved order to a separate variable

Artur Paikin hace 9 años
padre
commit
f55de81f52
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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) {