Revision 273222 of JavaScript 코드 모듈

  • 리비전 슬러그: JavaScript_코드_모듈
  • 리비전 제목: JavaScript 코드 모듈
  • 리비전 아이디: 273222
  • 제작일시:
  • 만든이: Dyhan81
  • 현재 리비전인가요? 아니오
  • 댓글 67 words added, 59 words removed

리비전 내용

{{ fx_minversion_header("3") }}

JavaScript 코드 모듈은 권한을 가진 JavaScript 여러 유효 범위(scope)가 서로 코드를 공유할 수 있도록 해줍니다. 예를 들어, 어떤 모듈은 코드 중복을 피하기 위해, 부가 기능에서 뿐만이 아니라 Firefox에서도 사용될 수 있습니다.

일반 주제

Using JavaScript code modules
An introduction to how to use JavaScript code modules.
Component.utils.import
How to import a JavaScript code module.

표준 코드 모듈

ctypes.jsm {{ fx_minversion_inline("3.6") }}
Provides an interface that allows JavaScript code to call native libraries without requiring the development of an XPCOM component.
ISO8601DateUtils.jsm
Provides routines to convert between JavaScript Date objects and ISO 8601 date strings.
NetUtil.jsm
Provides helpful networking utility functions, including the ability to easily copy data from an input stream to an output stream asynchronously.
openLocationLastURL.jsm
Provides access to the last URL opened using the "Open Location" option in the File menu.
PluralForm.jsm
Provides an easy way to get the correct plural forms for the current locale, as well as ways to localize to a specific plural rule.
XPCOMUtils.jsm
Contains utilities for JavaScript components loaded by the JS component loader.

리비전 소스

<p>{{ fx_minversion_header("3") }}</p>
<p>JavaScript 코드 모듈은 권한을 가진 JavaScript 여러 유효 범위(scope)가 서로 코드를 공유할 수 있도록 해줍니다. 예를 들어, 어떤 모듈은 코드 중복을 피하기 위해, 부가 기능에서 뿐만이 아니라 Firefox에서도 사용될 수 있습니다.</p>
<table class="mainpage-table"> <tbody> <tr> <td width="50%"> <h2>일반 주제</h2> <dl> <dt><a class="internal" href="/en/JavaScript_code_modules/Using_JavaScript_code_modules" title="en/JavaScript code modules/Using JavaScript code modules">Using JavaScript code modules</a></dt> <dd>An introduction to how to use JavaScript code modules.</dd> <dt><a class="internal" href="/en/Components.utils.import" title="en/Components.utils.import">Component.utils.import</a></dt> <dd>How to import a JavaScript code module.</dd> </dl> </td> <td width="50%"> <h2>표준 코드 모듈</h2> <dl> <dt><a href="/en/JavaScript_code_modules/ctypes.jsm" title="en/JavaScript code modules/ctypes.jsm">ctypes.jsm</a> {{ fx_minversion_inline("3.6") }}</dt> <dd>Provides an interface that allows JavaScript code to call native libraries without requiring the development of an XPCOM component.</dd> <dt><a href="/en/JavaScript_code_modules/ISO8601DateUtils.jsm" title="en/JavaScript code modules/ISO8601DateUtils.jsm">ISO8601DateUtils.jsm</a></dt> <dd>Provides routines to convert between JavaScript <a href="/en/Core_JavaScript_1.5_Reference/Global_Objects/Date" title="en/Core JavaScript 1.5 Reference/Global Objects/Date"><code>Date</code></a> objects and ISO 8601 date strings.</dd> </dl> <dl> <dt><a class="internal" href="/en/JavaScript_code_modules/NetUtil.jsm" title="en/JavaScript code modules/NetUtil.jsm"><span style="font-weight: bold;">NetUtil.jsm</span></a></dt> <dd>Provides helpful networking utility functions, including the ability to easily copy data from an input stream to an output stream asynchronously.</dd> <dt><a class="internal" href="/en/JavaScript_code_modules/openLocationLastURL.jsm" title="en/JavaScript code modules/openLocationLastURL.jsm">openLocationLastURL.jsm</a></dt> <dd>Provides access to the last URL opened using the "Open Location" option in the File menu.</dd> <dt><a href="/en/Localization_and_Plurals" title="en/Localization and Plurals">PluralForm.jsm</a></dt> <dd>Provides an easy way to get the correct plural forms for the current locale, as well as ways to localize to a specific plural rule.</dd> <dt><a class="internal" href="/en/JavaScript_code_modules/XPCOMUtils.jsm" title="en/JavaScript code modules/XPCOMUtils.jsm">XPCOMUtils.jsm</a></dt> <dd>Contains utilities for JavaScript components loaded by the JS component loader.</dd> </dl> </td> </tr> </tbody>
</table>
<br>
현재 리비전 복원