Remove trailing spaces

This commit is contained in:
Felix Eckhofer 2014-02-24 11:28:43 +01:00
parent 7a003f8227
commit b3b4651e33
3 changed files with 9 additions and 9 deletions

View file

@ -675,20 +675,20 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
$scope.showSidebar = !$scope.showSidebar; $scope.showSidebar = !$scope.showSidebar;
} }
}; };
$scope.openNick = function() { $scope.openNick = function() {
if (document.body.clientWidth < $scope.mobile_cutoff) { if (document.body.clientWidth < $scope.mobile_cutoff) {
if($scope.nonicklist) { if($scope.nonicklist) {
$scope.nonicklist = false; $scope.nonicklist = false;
} }
} }
}; };
$scope.closeNick = function() { $scope.closeNick = function() {
if (document.body.clientWidth < $scope.mobile_cutoff) { if (document.body.clientWidth < $scope.mobile_cutoff) {
if(!$scope.nonicklist) { if(!$scope.nonicklist) {
$scope.nonicklist = true; $scope.nonicklist = true;
} }
} }
}; };

View file

@ -279,7 +279,7 @@ plugins.factory('userPlugins', function() {
} }
}); });
asciinemaPlugin.name = "ascii cast"; asciinemaPlugin.name = "ascii cast";
return { return {
plugins: [youtubePlugin, dailymotionPlugin, allocinePlugin, imagePlugin, spotifyPlugin, cloudmusicPlugin, googlemapPlugin, asciinemaPlugin] plugins: [youtubePlugin, dailymotionPlugin, allocinePlugin, imagePlugin, spotifyPlugin, cloudmusicPlugin, googlemapPlugin, asciinemaPlugin]
}; };

View file

@ -3,10 +3,10 @@ var websockets = angular.module('ngWebsockets', []);
websockets.factory('ngWebsockets', websockets.factory('ngWebsockets',
['$rootScope','$q', ['$rootScope','$q',
function($rootScope, $q) { function($rootScope, $q) {
this.protocol = null; this.protocol = null;
var ws = null; var ws = null;
var callbacks = {}; var callbacks = {};
var currentCallBackId = 0; var currentCallBackId = 0;
@ -24,7 +24,7 @@ function($rootScope, $q) {
}; };
/* /*
* Returns the current callback id * Returns the current callback id
*/ */