From 4b4292edb86d34067a2babb9f572a3641dd1d2a7 Mon Sep 17 00:00:00 2001
From: Vojta Jina
Date: Thu, 1 Sep 2011 16:16:01 +0200
Subject: style: fix some missing semi-colons and spaces, typos
---
docs/src/gen-docs.js | 4 ++--
docs/src/writer.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
(limited to 'docs/src')
diff --git a/docs/src/gen-docs.js b/docs/src/gen-docs.js
index 93d0038e..e1778bb7 100755
--- a/docs/src/gen-docs.js
+++ b/docs/src/gen-docs.js
@@ -30,7 +30,7 @@ writer.makeDir('build/docs/syntaxhighlighter').then(function() {
return Q.deep(fileFutures);
}).then(function generateManifestFile() {
return appCache('build/docs/').then(function(list) {
- writer.output('appcache-offline.manifest',list)
+ writer.output('appcache-offline.manifest', list);
});
}).then(function printStats() {
console.log('DONE. Generated ' + docs.length + ' pages in ' + (now()-start) + 'ms.' );
@@ -46,7 +46,7 @@ function writeTheRest(writesFuture) {
var manifest = 'manifest="appcache.manifest"',
jq = '',
ngMin = '',
- ng = ''
+ ng = '';
writesFuture.push(writer.copy('docs/src/templates/index.html', 'build/docs/index.html',
writer.replace, {'doc:manifest': manifest,
diff --git a/docs/src/writer.js b/docs/src/writer.js
index 5aa8f566..85d797ea 100644
--- a/docs/src/writer.js
+++ b/docs/src/writer.js
@@ -8,14 +8,14 @@ var Q = require('qq');
var OUTPUT_DIR = "build/docs/";
var fs = require('fs');
-exports.output = function(file, content){
+exports.output = function(file, content) {
console.log('writing ', file);
var fullPath = OUTPUT_DIR + file;
var dir = parent(fullPath);
return Q.when(exports.makeDir(dir), function(error) {
qfs.write(fullPath,exports.toString(content));
});
-}
+};
//recursively create directory
exports.makeDir = function (path) {
--
cgit v1.2.3