Fix lint error

This commit is contained in:
perryharlock
2013-11-25 16:37:50 +00:00
parent 9383de3410
commit e13de45e4a
3 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ $(document).ready(function(){
xaxis: { xaxis: {
mode: 'time', mode: 'time',
tickLength: 0, tickLength: 0,
timeformat: "%d %b" timeformat: '%d %b'
}, },
yaxis: { yaxis: {
tickDecimals: 0 tickDecimals: 0
@@ -116,7 +116,7 @@ $(document).ready(function(){
} }
function getXAxisLabel (el) { function getXAxisLabel (el) {
return el.find('[data-role="category"]').attr('data-value'); return el.find('[data-role="date"]').attr('data-value');
} }
function storeDatum (el, label) { function storeDatum (el, label) {

File diff suppressed because one or more lines are too long

View File

@@ -23,7 +23,7 @@
<tbody> <tbody>
{{#results}} {{#results}}
<tr data-role="url-stats"> <tr data-role="url-stats">
<td data-value="{{date-timestamp date}}" data-role="category">{{date-format date format="DD MMM YYYY"}}</td> <td data-value="{{date-timestamp date}}" data-role="date">{{date-format date format="DD MMM YYYY"}}</td>
<td class="text-center" data-label="error">{{count.error}}</td> <td class="text-center" data-label="error">{{count.error}}</td>
<td class="text-center" data-label="warning">{{count.warning}}</td> <td class="text-center" data-label="warning">{{count.warning}}</td>
<td class="text-center" data-label="notice">{{count.notice}}</td> <td class="text-center" data-label="notice">{{count.notice}}</td>