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

(ko-KR) Apply diffs from e21f156 to 32dea9a #11

Merged
merged 1 commit into from Dec 8, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 19 additions & 3 deletions README.ko-KR.md
Expand Up @@ -21,14 +21,27 @@

> 안내: `document.querySelector`와 `document.querySelectorAll`는 꽤 **느립니다**, `getElementById`나 `document.getElementsByClassName`, `document.getElementsByTagName`를 사용하면 퍼포먼스가 향상을 기대할 수 있습니다.

- [1.0](#1.0) <a name='1.0'></a> selector로 찾기

```js
// jQuery
$('selector');

// Native
document.querySelectorAll('selector');
```

- [1.1](#1.1) <a name='1.1'></a> class로 찾기

```js
// jQuery
$('.css');
$('.class');

// Native
document.querySelectorAll('.css');
document.querySelectorAll('.class');

// or
document.getElementsByClassName('class');
```

- [1.2](#1.2) <a name='1.2'></a> id로 찾기
Expand All @@ -39,6 +52,9 @@

// Native
document.querySelector('#id');

// or
document.getElementById('id');
```

- [1.3](#1.3) <a name='1.3'></a> 속성(attribute)으로 찾기
Expand Down Expand Up @@ -574,7 +590,7 @@ namespace와 delegation을 포함해서 완전히 갈아 엎길 원하시면 htt
$.trim(string);

// Native
String.trim(string);
string.trim();
```

- [6.3](#6.3) <a name='6.3'></a> Object Assign
Expand Down