Navigation Menu

Skip to content

Commit

Permalink
Rename section -> type
Browse files Browse the repository at this point in the history
  • Loading branch information
darashi committed Aug 15, 2012
1 parent a5fd429 commit ef34b23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/convert.js
Expand Up @@ -48,9 +48,9 @@ function parse(doc, context) {
}

context.path.push(item);
for (var section in doc) {
if (doc[section] instanceof Array) {
doc[section].forEach(function(subdoc) {
for (var type in doc) {
if (doc[type] instanceof Array) {
doc[type].forEach(function(subdoc) {
parse(subdoc, context);
});
}
Expand Down

0 comments on commit ef34b23

Please sign in to comment.