Skip to content

Commit

Permalink
Fixes indents of templates and bumps YUI dependencies
Browse files Browse the repository at this point in the history
This PR fixes yui#288. This problem is due to `Y.Handlebars` have been
upgraded from v1.x to v2.0.0 since YUI 3.18.0.

Handlebars v2.0.0 have been changed the handling of indents to matches
to the Mustache specs.
https://github.com/wycats/handlebars.js/blob/master/release-notes.md

Therefore, it fixes indents of templates and I'd like to make clear
YUIDoc uses Handlebars v2.0.0 by depending on YUI 3.18.1 or later.
  • Loading branch information
okuryu committed Dec 2, 2014
1 parent aecd078 commit 2a3c4d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"marked": "^0.3.2",
"minimatch": "^1.0.0",
"rimraf": "2.x",
"yui": "^3.14.1"
"yui": "^3.18.1"
},
"devDependencies": {
"jshint": "2.4.x",
Expand Down
2 changes: 1 addition & 1 deletion themes/default/layouts/main.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="apidocs">
<div id="docs-main">
<div class="content">
{{>layout_content}}
{{>layout_content}}
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/default/layouts/xhr.handlebars
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="docs-main">
<div class="content">
{{>layout_content}}
{{>layout_content}}
</div>
</div>

Expand Down

0 comments on commit 2a3c4d8

Please sign in to comment.