refactor(client:main): use controller as, named function, new name#1243
Merged
refactor(client:main): use controller as, named function, new name#1243
Conversation
9c3e3e3 to
17af68f
Compare
a959473 to
bcf664f
Compare
Collaborator
Author
|
@kingcody I'm having trouble figuring out why that last test case is failing with CoffeeScript. Mind taking a look? |
Member
There was a problem hiding this comment.
With no server options this is the last statement in the controller and coffee returns the last statement in a function. Also, when using controller as syntax if the controller returns a value then it is bound to the scope as the controller. So this should be the last statement.
ff51c05 to
c8038ce
Compare
Collaborator
Author
|
Requires #1287 |
controller as main, MainCtrl -> MainController
c8038ce to
7d7daee
Compare
kingcody
added a commit
that referenced
this pull request
Sep 12, 2015
refactor(client:main): use controller as, named function, new name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
controller as main, MainCtrl -> MainController