Skip to content

Commit

Permalink
fix(generators): remove unnecessary fat arrows
Browse files Browse the repository at this point in the history
  • Loading branch information
cueedee committed Jul 22, 2015
1 parent 4d81783 commit f0c1099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generators/app/templates/src/router.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@

return

() =>
() ->
console.log( '[ROUTER] Failed to switch locale, do nothing...' )

return
Expand Down
2 changes: 1 addition & 1 deletion generators/demo/templates/src/views/i18n.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
localeManager.setLocale( $select.val() ).then(
() =>
@render()
( error ) =>
( error ) ->
console.log( error )
).done()

Expand Down

0 comments on commit f0c1099

Please sign in to comment.