Skip to content

Commit 2004d76

Browse files
author
Lauren McCarthy
committed
fixing ref
1 parent a2bf516 commit 2004d76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ module.exports = function(grunt) {
129129
},
130130
// Watch the codebase for doc updates
131131
yui:{
132-
files:['src/**/*.js'],
132+
files:['src/**/*.js', 'lib/addons/*.js'],
133133
task:['yuidoc']
134134
}
135135
},

docs/yuidoc-p5-theme-src/scripts/tpl/library.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h3><%= module.name %> library</h3>
1717
<a href="<%=item.hash%>" <% if (item.module !== module.name) { %>class="core"<% } %>><%=item.name%><% if (item.itemtype === 'method') { %>()<%}%></a><br>
1818
<% t++; %>
1919
<% }); %>
20-
<% if (t >= ceil(totalItems/4)) { col++; t = 0; %>
20+
<% if (t >= Math.floor(totalItems/4)) { col++; t = 0; %>
2121
</div>
2222
<% } %>
2323
<% }); %>

0 commit comments

Comments
 (0)