Remove extra comma and unnecessary semicolons

This commit is contained in:
David Cormier 2013-12-17 15:39:22 -05:00
parent b23fb71d1d
commit 0912a2b55b
4 changed files with 9 additions and 9 deletions

View file

@ -257,7 +257,7 @@ models.service('models', ['$rootScope', '$filter', function($rootScope, $filter)
tags: tags_array,
highlight: highlight,
displayed: displayed,
text: rtext,
text: rtext
};

View file

@ -46,7 +46,7 @@ plugins.service('plugins', ['userPlugins', '$sce', function(userPlugins, $sce) {
var registerPlugins = function(userPlugins) {
for (var i = 0; i < userPlugins.length; i++) {
plugins.push(userPlugins[i]);
};
}
};
/*

View file

@ -225,7 +225,7 @@ weechat.factory('connection', ['$q', '$rootScope', '$log', '$store', 'handlers',
callbacks[cbId] = {
time: new Date(),
cb: defer,
cb: defer
};
defer.id = cbId;
@ -295,7 +295,7 @@ weechat.factory('connection', ['$q', '$rootScope', '$log', '$store', 'handlers',
}),
weeChat.Protocol.formatInfo({
name: 'version',
name: 'version'
})
]).then(
null,
@ -511,7 +511,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
$scope.favico = new Favico({
animation:'none',
bgColor : '#5CB85C',
textColor : '#ff0',
textColor : '#ff0'
});
$scope.favico.badge(unread);
}
@ -730,7 +730,7 @@ weechat.config(['$routeProvider',
function($routeProvider) {
$routeProvider.when('/', {
templateUrl: 'index.html',
controller: 'WeechatCtrl',
controller: 'WeechatCtrl'
});
}
]);

View file

@ -1058,7 +1058,7 @@
return {
length: len,
compression: comp,
compression: comp
};
},
@ -1083,7 +1083,7 @@
if (type) {
return {
type: type,
content: self._runType(type),
content: self._runType(type)
};
}
},
@ -1185,7 +1185,7 @@
var msg = {
header: header,
id: id,
objects: objects,
objects: objects
};
return msg;