Swap parameter ordering - follows convention Rails.logger.error 'foo'

This commit is contained in:
Rohan Mitchell
2014-12-04 17:14:28 +11:00
parent 9c4c0f87e3
commit a8e1265a58
2 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ angular.module("ofn.admin").factory "StatusMessage", ($timeout) ->
text: ""
style: {}
display: (text, type) ->
display: (type, text) ->
@statusMessage.text = text
@statusMessage.style = @types[type].style
$timeout.cancel @statusMessage.timeout if @statusMessage.timeout