summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@friendco.de>2014-03-31 01:50:21 -0700
committerAaron O'Mullan <aaron.omullan@friendco.de>2014-03-31 01:50:21 -0700
commit0af1886358e79b5e9f84fcdeb7017edbc185d3c7 (patch)
tree514da2c9e10154468d674dd35d30ee76b1bad08f /lib
parentd18da55a184ef514cb996e731830cd0749ccdfe9 (diff)
downloadgitbook-0af1886358e79b5e9f84fcdeb7017edbc185d3c7.zip
gitbook-0af1886358e79b5e9f84fcdeb7017edbc185d3c7.tar.gz
gitbook-0af1886358e79b5e9f84fcdeb7017edbc185d3c7.tar.bz2
Move summary & page parsing code to lib/parse/
Diffstat (limited to 'lib')
-rw-r--r--lib/index.js4
-rw-r--r--lib/parse/index.js4
-rw-r--r--lib/parse/page.js (renamed from lib/page.js)0
-rw-r--r--lib/parse/summary.js (renamed from lib/summary.js)0
4 files changed, 6 insertions, 2 deletions
diff --git a/lib/index.js b/lib/index.js
index 2caf6a4..8278529 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -1,4 +1,4 @@
module.exports = {
- summary: require('./summary'),
- page: require('./page'),
+ parse: require('./parse/'),
};
+
diff --git a/lib/parse/index.js b/lib/parse/index.js
new file mode 100644
index 0000000..2caf6a4
--- /dev/null
+++ b/lib/parse/index.js
@@ -0,0 +1,4 @@
+module.exports = {
+ summary: require('./summary'),
+ page: require('./page'),
+};
diff --git a/lib/page.js b/lib/parse/page.js
index 047f3e4..047f3e4 100644
--- a/lib/page.js
+++ b/lib/parse/page.js
diff --git a/lib/summary.js b/lib/parse/summary.js
index 8787554..8787554 100644
--- a/lib/summary.js
+++ b/lib/parse/summary.js