Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFormat port errors for undefined values #270
Conversation
ajhager
reviewed
Aug 1, 2015
src/Native/Utils.js
| @@ -325,12 +325,17 @@ Elm.Native.Utils.make = function(localRuntime) { | ||
| throw new Error('Runtime error in module ' + moduleName + ' (' + span + ')' + msg); | ||
| } | ||
| function formatValue(value) { |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
ajhager
Aug 1, 2015
Contributor
I would bring the bracket down to the next line to match the style of the file, or even just remove the formatValue function and inline the check. Otherwise
ajhager
Aug 1, 2015
Contributor
I would bring the bracket down to the next line to match the style of the file, or even just remove the formatValue function and inline the check. Otherwise
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
evancz
Aug 2, 2015
Member
Agree about this, one way or the other. After the change, @rtfeldman, please ping this thread for merge :)
evancz
Aug 2, 2015
Member
Agree about this, one way or the other. After the change, @rtfeldman, please ping this thread for merge :)
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
@evancz this should be ready to merge now! |
pushed a commit
that referenced
this pull request
Sep 28, 2015
evancz
merged commit 6a49588
into
elm:master
Sep 28, 2015
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Looks good, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rtfeldman commentedJun 11, 2015
Before: (note the very last line)
After: (note the difference in the very last line)