aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
diff options
context:
space:
mode:
authorChirayu Krishnappa2013-07-31 11:53:02 -0700
committerChirayu Krishnappa2013-07-31 13:38:24 -0700
commitf274c0a66b28711d3b9cc7b0775e97755dd971e8 (patch)
tree8959b8143f4158d46e3f921955da918269752fed /src/ng
parent664526d69c927370c93a06745ca38de7cd03a7be (diff)
downloadangular.js-f274c0a66b28711d3b9cc7b0775e97755dd971e8.tar.bz2
fix(mock.$log): keep in sync with $log
Closes #2343
Diffstat (limited to 'src/ng')
-rw-r--r--src/ng/log.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ng/log.js b/src/ng/log.js
index 2a58d442..e0a1aec3 100644
--- a/src/ng/log.js
+++ b/src/ng/log.js
@@ -74,23 +74,23 @@ function $LogProvider(){
/**
* @ngdoc method
- * @name ng.$log#warn
+ * @name ng.$log#info
* @methodOf ng.$log
*
* @description
- * Write a warning message
+ * Write an information message
*/
- warn: consoleLog('warn'),
+ info: consoleLog('info'),
/**
* @ngdoc method
- * @name ng.$log#info
+ * @name ng.$log#warn
* @methodOf ng.$log
*
* @description
- * Write an information message
+ * Write a warning message
*/
- info: consoleLog('info'),
+ warn: consoleLog('warn'),
/**
* @ngdoc method