[Feature] add raw translation of javascript coding standards#8
Merged
asika32764 merged 3 commits intosmstw:gh-pagesfrom Sep 30, 2014
Merged
Conversation
|
恩呀,我現在都用 split view,相當方便! 只不過一行太長的話斷行也是很難閱讀。 |
There was a problem hiding this comment.
than one key/value pair 'or an array as a value' 這個沒翻到
|
看來 Joomla 的 JS Style 也還在討論 joomla#61 可以看一下討論內容 不過這個 PR 擱置很久了,我們可以先翻譯完,再訂我們自己的 |
Author
|
說到自訂,有一個部分我覺得跟我們目前使用的落差比較大,是空白的部分 |
|
光 if else 的括號要不要換行裡面都還在討論 |
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.

for
javascript.md 翻譯 #2
英文部分都還沒刪掉, 方便 review, 沒問題後會再補 commit 上來把英文都刪除
review 可以來看這邊
https://github.com/skylying/joomla-coding-standards/blob/feature-js-coding-standards-chinese/manual/zh-TW/coding-standards/chapters/javascript.md
有問題的部分:
條件式
Use ternary syntax if:
在下列情況使用三元運算式: