diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-09 08:23:11 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-09 08:23:11 +0200 |
commit | 99594791e0c34aee3659370b8c2072df815c9051 (patch) | |
tree | 5a523d3cbd3aec55a9bbf97beda7bff7605e9b62 /lib/parse/page.js | |
parent | 1b432288f041baef2ebe54c96a7a86f547b14c67 (diff) | |
parent | 2cc23b7e3411e1748bc8a25114a7bf9185a210f1 (diff) | |
download | gitbook-99594791e0c34aee3659370b8c2072df815c9051.zip gitbook-99594791e0c34aee3659370b8c2072df815c9051.tar.gz gitbook-99594791e0c34aee3659370b8c2072df815c9051.tar.bz2 |
Merge Optional github
Diffstat (limited to 'lib/parse/page.js')
-rw-r--r-- | lib/parse/page.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/parse/page.js b/lib/parse/page.js index 56a9e60..3479c85 100644 --- a/lib/parse/page.js +++ b/lib/parse/page.js @@ -72,6 +72,8 @@ function parsePage(src, options) { base: codeNodes[0].text, solution: codeNodes[1].text, validation: codeNodes[2].text, + // Context is optional + context: codeNodes[3] ? codeNodes[3].text : null, } }; } |