11CodeSnippet
22======================
3- 코드 스니펫<br >
4- CodeSnippet이란, <br >
5- 타입체크나 배열처리와 같이 ** 자주 사용되는 코드 조각** 을 모아둔 것으로,<br >
6- 아래와 같은 종류의 CodeSnippet이 존재하며 지속적으로 업데이트를 통해 관리되고 있다.<br >
7- FE개발팀에서 배포하는 모든 Component 및 Application은 ** 가독성과 중복코드 방지** 를 위해 CodeSnippet을 사용하며,<br >
8- 기본적인 네임스페이스는 ** ne.util** 을 사용한다.<br >
9- (네임스페이스는 서비스의 성격에 따라 재정의하여 사용할 수 있다.)<br >
3+ ** CodeSnippet** <br >
4+ CodeSnippet is ** set of code snippet that is used alot** , This include next.<br >
5+ Check data type.<br >
6+ Processing collections, strings.<br >
7+ Check browser<br >
8+ CodeSnippet served some profit such as preveing repeat code, making readablility codes.<br >
9+ CodeSnippet use namespace "tui.util".(But you can redefind it on your project)
10+
1011
1112## Feature
1213* browser.js
13- * 브라우저 종류 및 버전 검출 모듈
14+ * Browser detecting modules
1415* collection.js
15- * 콜렉션 처리 모듈
16- * 콜렉션를 쉽게 처리할 수 있는 유틸성 메소드를 제공
16+ * Modules to Process collecitons
17+ * Support util methods for collecitons
1718* customEvent.js
18- * 커스텀이벤트 모듈
19- * 커스텀 이벤트를 추가/제거 및 발생시켜 컴포넌트의 확장기능을 구현할 수 있도록 함
19+ * Custom event modules
20+ * Add/Remove/fire custom events
2021* defineClass.js
21- * 클래스 정의 및 상속 모듈
22+ * Defined classes module
2223* enum.js
23- * 중복되지 않는 임의의 값을 갖는 상수목록을 다루는 모듈
24- * IE8이하를 제외한 모던브라우저에서는 한번 결정된 값은 추후 변경 불가
24+ * Const value modules
25+ * Making immutability values but IE8 low
2526* func.js
26- * 함수 처리 모듈
27- * 처리를 쉽게 처리할 수 있는 유틸성 메소드를 제공
27+ * Function modules
2828* hashMap.js
29- * 해시맵 모듈
30- * key/value로 데이터를 관리
29+ * Hash map modules
30+ * Managing data by key/value
3131* inheritance.js
32- * 간단한 상속 모듈 (Nicholas C. Zakas, YUI Library)
33- * 부모 생성자를 명시적으로 호출
34- * 자식 프로토타입 메서드를 구현하기 전에 상속받아야 함
35- * 믹스인 방법과 내부객체로 저장하여 사용
32+ * Simple inheritance modules (Nicholas C. Zakas, YUI Library)
33+ * Call supur constructor of superclass
34+ * Have to get inheritance before define child
35+ * Using mixin and inner object
3636* object.js
37- * 객체 처리 모듈
38- * 객체를 쉽게 처리할 수 있는 유틸성 메소드를 제공
37+ * Object modules
38+ * Support utils to control object
3939* string.js
40- * 문자열 처리 모듈
41- * decodeHTMLEntity, encodeHTMLEntity 등의 유틸성 메소드를 제공
40+ * String processing modules
41+ * Support utils such as decodeHTMLEntity, encodeHTMLEntity
4242* type.js
43- * 변수 타입체크 모듈
43+ * Check data type
4444* window.js
45- * 윈도우 팝업등 window객체와 관련 모듈
46- * IE11에서 POST를 사용해 팝업에 값을 전달시 postDataBridgeUrl 설정 필요
47- * 다른 도메인을 팝업으로 띄울 경우 보안 문제로 팝업 컨트롤 불가
45+ * Window object modules
46+ * You need 'postDataBridgeUrl' options to avoid IE11 popup form submit bug.
47+ * Different domain have x-domain issue.
4848* defineNamespace.js
49- * 네임 스페이스를 쉽게 정의해주는 유틸성 메서드 제공
49+ * Support utils to define namespace
5050* formatDate.js
51- * 날짜를 문자열 형식으로 변환해주는 모듈
51+ * Formating date strings modules
5252* defineModule.js
53- * 서비스코드상의 모듈을 쉽게 정의해주는 유틸성 메서드 제공
53+ * Support utils to define modules
5454
55- ## CodeSnippet 사용법
56- * 전체 CodeSnippet 모듈이 빌드된 파일 사용하기
57- * [[ master branch]] ( https://github.com/nhnent/fe.code-snippet ) 에서 code-snippet.js 또는 code-snippet.min.js을 다운로드 받아 사용
58- * 혼란을 줄이기위해 파일명(code-snippet.js 또는 code-snippet.min.js)은 그대로 사용하기를 권장
59- * 필요한 부분만 복사하여 사용하기
60- * 각 모듈에 명시된 ** 의존성을 확인 ** 하여 필요한 모듈을 함께 복사해서 사용
61- * 가급적이면 유지보수 등의 관리를 위하여 빌드된 버전 사용을 권장
55+ ## How to use CodeSnippet
56+ * Using CodeSnippet build file
57+ * Download code-snippet.js or code-snippet.min.js from [[ master branch]] ( https://github.com/nhnent/fe.code-snippet )
58+ * It's better that you do not change the file name.
59+ * Using the copy only the necesary parts
60+ * Check dependency before copy the codes
61+ * Use build file as you can
6262
6363## Documentation
6464* ** API** - https://nhnent.github.io/fe.code-snippet/latest/
@@ -72,17 +72,16 @@ FE개발팀에서 배포하는 모든 Component 및 Application은 **가독성
7272
7373## Download/Install
7474* Bower:
75- * 최신버전 : ` bower install ne-code-snippet `
76- * 특정버전 : ` bower install ne-code-snippet[#tag] `
75+ * latest : ` bower install ne-code-snippet `
76+ * each version : ` bower install ne-code-snippet[#tag] `
7777* Download : https://github.com/nhnent/fe.code-snippet
7878
7979
8080## History
8181| Version | Description | Date | Developer |
8282| ---- | ---- | ---- | ---- |
83- | <a href =" https://nhnent.github.io/fe.code-snippet/1.0.4/ " >1.0.4</a > | getDuplicatedChar, 추가 | 2015.07 | FE개발팀 |
84- | <a href =" https://nhnent.github.io/fe.code-snippet/1.0.3/ " >1.0.3</a > | defineModule 추가<br >formatDate 추가 | 2015.06 | FE개발팀 |
85- | <a href =" https://nhnent.github.io/fe.code-snippet/1.0.2/ " >1.0.2</a > | defineNamespace 추가<br >map, exMap 추가 | 2015.04 | FE개발팀 |
86- | 1.0.1 | isExisty 스펙 변경<br >pick 메서드 추가<br >type 체크 변경 | 2015.04 | FE개발팀 |
87- | <a href =" https://nhnent.github.io/fe.code-snippet/1.0.0/ " >1.0.0</a > | jquery dependency 제거 | 2015.03 | FE개발팀 |
88- | 0.1.0 | 최초개발 | 2014.09 | FE개발팀 |
83+ | <a href =" https://nhnent.github.io/fe.code-snippet/1.0.4/ " >1.0.4</a > | getDuplicatedChar added | 2015.07 | NHN Entertainment FE Dev team< dl_javascript@nhnent.com > |
84+ | <a href =" https://nhnent.github.io/fe.code-snippet/1.0.3/ " >1.0.3</a > | defineModule,<br >formatDate added | 2015.06 | NHN Entertainment FE Dev team< dl_javascript@nhnent.com > |
85+ | <a href =" https://nhnent.github.io/fe.code-snippet/1.0.2/ " >1.0.2</a > | defineNamespace,<br >map, exMap added | 2015.04 | NHN Entertainment FE Dev team< dl_javascript@nhnent.com > |
86+ | 1.0.1 | isExisty modified,<br >pick added<br >type modifyied | 2015.04 | NHN Entertainment FE Dev team< dl_javascript@nhnent.com > |
87+ | <a href =" https://nhnent.github.io/fe.code-snippet/1.0.0/ " >1.0.0</a > | jquery dependency removed | 2015.03 | NHN Entertainment FE Dev team< dl_javascript@nhnent.com > |
0 commit comments