Chore: Fix lint issues and add indent with tabs

This commit is contained in:
Gyandeep Singh 2017-03-11 14:43:30 -06:00
parent 123a413b68
commit daf5a64697
9 changed files with 99 additions and 88 deletions

View file

@ -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}
}