Explorar o código

Moved order to a separate variable

Artur Paikin %!s(int64=9) %!d(string=hai) anos
pai
achega
f55de81f52
Modificáronse 1 ficheiros con 3 adicións e 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) {