aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/log.js
diff options
context:
space:
mode:
authorIgor Minar2014-02-18 03:04:42 -0800
committerIgor Minar2014-02-18 10:44:48 -0800
commit481508d0e7ae9e4984ea380b9a43e589551c7a5b (patch)
tree2df21cbd83152c5e504cdc7f3b579b25bdc9fadb /src/ng/log.js
parent12e4d3ac4da3e7ea8d9be49764dbbc091a345bf7 (diff)
downloadangular.js-481508d0e7ae9e4984ea380b9a43e589551c7a5b.tar.bz2
style: remove ws and enfore no-trailing-ws jscs rule
Diffstat (limited to 'src/ng/log.js')
-rw-r--r--src/ng/log.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ng/log.js b/src/ng/log.js
index e228701b..f704184a 100644
--- a/src/ng/log.js
+++ b/src/ng/log.js
@@ -8,7 +8,7 @@
* @description
* Simple service for logging. Default implementation safely writes the message
* into the browser's console (if present).
- *
+ *
* The main purpose of this service is to simplify debugging and troubleshooting.
*
* The default is to log `debug` messages. You can use
@@ -45,7 +45,7 @@
function $LogProvider(){
var debug = true,
self = this;
-
+
/**
* @ngdoc property
* @name $logProvider#debugEnabled
@@ -61,7 +61,7 @@ function $LogProvider(){
return debug;
}
};
-
+
this.$get = ['$window', function($window){
return {
/**
@@ -99,11 +99,11 @@ function $LogProvider(){
* Write an error message
*/
error: consoleLog('error'),
-
+
/**
* @ngdoc method
* @name $log#debug
- *
+ *
* @description
* Write a debug message
*/