formatting fixes

This commit is contained in:
samanpwbb 2014-09-23 18:19:02 -04:00
parent 6f2ec7b335
commit 9f65589279
7 changed files with 1793 additions and 2110 deletions

View File

@ -1,13 +1,10 @@
<% _(symbolizers).each(function(symbolizer, name) { %>
<% if (name == '*') { %>## All elements<% } else { %>## <%= name %><% } %>
<% _(symbolizer).chain().filter(function(p) { return p.css; }).each(function(p) { %>
<% if (_.isArray(p.type)) { %>
#### <%= p.css.replace(/\s/g, '') %>
<% _(p.type).each(function(type) { %>`<%= type %>`<% }); %>
<% } else { %>#### <%= p.css.replace(/\s/g, '') %>
`<%= p.type %>`<% } %>
#### <%= p.css.replace(/\s/g, '') %> <% if (_.isArray(p.type)) { %>`keyword`<% } else { %>`<%= p.type %>`<% } %>
<% if (_.isArray(p.type)) { %><% _(p.type).each(function(type) { %>`<%= type %>`<% }); %><% } %>
<% if (typeof p['default-value'] !== '') { %>Default Value: <%= p['default-value'] %><% } %>
<% if (p['default-meaning']) { %>(<%- p['default-meaning'] %>)<% } %>
<% if (p['default-meaning']) { %>_(<%- p['default-meaning'] %>)_<% } %>
<% if (typeof p['range'] !== 'undefined') { %>Range: <%= '' + p['range'] %><% } %>
<% if (p.doc) { %><%- p.doc%><% } %>
<% }); %>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff