Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply the emphasis and code mark up separately #168

Merged
merged 1 commit into from
Aug 7, 2014

Conversation

tyoshino
Copy link
Member

@tyoshino tyoshino commented Aug 5, 2014

Hi Domenic,

I'd like to hear your opinion about styling. Do you have any preference on mark up on arguments and the callable in "call something" algorithm? Maybe we want to use something close to one used by es specification?

@domenic
Copy link
Member

domenic commented Aug 6, 2014

Yeah, I would in general prefer to use the ES-spec style throughout, including #161. In the end there should actually be very little code styling. Right now I have moved over some minor stuff but there is definitely inconsistency. In general as I said in #161 I feel guilty about working on this kind of thing given the other issues that need my time :P

@@ -159,14 +159,14 @@ For now, please consider the reference implementation normative: [reference-impl
1. If `this.[[state]]` is `"errored"` or `"closed"`, return **false**.
1. Let _chunkSize_ be Invoke(`this.[[strategy]]`, `"size"`, (_chunk_)).
1. If _chunkSize_ is an abrupt completion,
1. Call `this.[[error]](_chunkSize_.[[value]])`.
1. Call `this.[[error]]`(_chunkSize_.`[[value]]`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the ES spec would not code-ize [[value]], i.e. it would be chunkSize.[[value]] not chunkSize.[[value]]

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@tyoshino
Copy link
Member Author

tyoshino commented Aug 7, 2014

I can help, but yes if we make lots of lint changes, it'll be difficult to merge ongoing branches. So, I just follow the style for new code for now. Thanks.

@domenic domenic merged commit 031855d into whatwg:master Aug 7, 2014
@tyoshino tyoshino deleted the noitalicinverbose branch August 8, 2014 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants