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, tags: tags_array,
highlight: highlight, highlight: highlight,
displayed: displayed, displayed: displayed,
text: rtext, text: rtext
}; };

View file

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

View file

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

View file

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