Chore: Fix lint issues and add indent with tabs
This commit is contained in:
parent
123a413b68
commit
daf5a64697
9 changed files with 99 additions and 88 deletions
|
|
@ -38,10 +38,10 @@ module.exports = function($window) {
|
|||
var index = callbacks.indexOf(key)
|
||||
if (index > -1) callbacks.splice(index, 2)
|
||||
}
|
||||
function redraw() {
|
||||
for (var i = 1; i < callbacks.length; i += 2) {
|
||||
callbacks[i]()
|
||||
}
|
||||
}
|
||||
function redraw() {
|
||||
for (var i = 1; i < callbacks.length; i += 2) {
|
||||
callbacks[i]()
|
||||
}
|
||||
}
|
||||
return {subscribe: subscribe, unsubscribe: unsubscribe, redraw: redraw, render: renderService.render}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -528,6 +528,7 @@ o.spec("route", function() {
|
|||
})
|
||||
|
||||
o(root.firstChild.nodeName).equals("DIV")
|
||||
o(renderCount).equals(1)
|
||||
})
|
||||
|
||||
o("RouteResolver `render` does not have component semantics", function(done) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue