From f274c0a66b28711d3b9cc7b0775e97755dd971e8 Mon Sep 17 00:00:00 2001 From: Chirayu Krishnappa Date: Wed, 31 Jul 2013 11:53:02 -0700 Subject: fix(mock.$log): keep in sync with $log Closes #2343 --- src/ng/log.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/ng') 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 -- cgit v1.2.3