aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rwxr-xr-xdocs/src/gen-docs.js4
-rw-r--r--docs/src/writer.js4
2 files changed, 4 insertions, 4 deletions
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 = '<script src="jquery.min.js"></script>',
ngMin = '<script src="../angular.min.js" ng:autobind></script>',
- ng = '<script src="../angular.js" ng:autobind></script>'
+ ng = '<script src="../angular.js" ng:autobind></script>';
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) {