COMMONJS Tiếng anh là gì - trong Tiếng anh Dịch

Danh từ
commonjs
các bản build commonjs

Ví dụ về việc sử dụng Commonjs trong Tiếng việt và bản dịch của chúng sang Tiếng anh

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
Tôi không muốn CommonJS trong trình duyệt.
I didn't want to CommonJS in the browser.
Một ví dụ thường gặp làkhi load modules với CommonJS.
A very commonexample is when loading modules with CommonJS.
Mối quan hệ giữa CommonJS, AMD và RequireJS?
Relation between CommonJS, AMD and RequireJS?
Có hai phương pháp phổ biến vàđược triển khai tốt là: CommonJS và AMD.
There are two popular and well-implemented approaches: CommonJS and AMD.
CommonJS rất hay và mượt, nhưng nếu chúng ta muốn load module không đồng bộ thì sao?
CommonJS is all well and good, but what if we want to load modules asynchronously?
Chuyển các kết quả thông qua plugin commonjs để nó có định dạng mô- đun JavaScript.
Pass the results through the commonjs plugin so that it's now in JavaScript module format.
CommonJS rất tốt, nhưng nếu chúng ta muốn nạp các module một cách bất đồng bộ thì sao?
CommonJS is all well and good, but what if we want to load modules asynchronously?
Chúng ta tạo ra các cách để giả lập một hệ thống module bằngcách sử dụng mẫu module, CommonJS hay AMD.
We have created ways to emulate a modulessystem by using either the module pattern, CommonJS or AMD.
( So sánh với CommonJS, import là bản sao của export và kết quả là nó không hoạt động thực sự).
(Compare this to CommonJS, where imports are copies of exports and consequently not alive).
Đây là công cụ cho phép cậu gói dependencies được mô tả CommonJS với các file có thể chạy trong trình duyệt.
It's a tool that allows you to bundle CommonJS described dependencies to files that can be run in the browser.
CommonJS: các bản build CommonJS được dành cho các bundler cũ như browserify hoặc webpack 1.
CommonJS: CommonJS builds are intended for use with older bundlers like browserify or webpack 1.
Từ đó cho phép hệ thống module CommonJS biết được chúng ta muốn expose cái nào, để các file khác có thể tiêu thụ.
This lets the CommonJS module system know what we want to expose so that other files can consume it.
Thay vào đó, chúng ta đã tìm cách emulate một hệ thống module thông quaviệc sử dụng module pattern, CommonJS hoặc AMD.
Instead, we have created ways to emulate a modulessystem by using either the module pattern, CommonJS or AMD.
Với CommonJS, mỗi file JavaScript lưu trữ module trong bối cảnh module của riêng nó( cũng giống như gói vào gói kín vậy).
With CommonJS, each JavaScript file stores modules in its own unique module context(just like wrapping it in a closure).
Cũng tùy môi trường nữa, nhưng vớiweb, thì thường để chi bất cứ thứ gì hỗ trợ AMD hoặc CommonJS module thông thường.
The definition depends on the environment,but in the web we usually mean anything that supports AMD or CommonJS modules.
Với CommonJS, mỗi file Javascript chứa các module trong module context độc nhất của chúng( giống như gói chúng trong một closure).
With CommonJS, each JavaScript file stores modules in its own unique module context(just like wrapping it in a closure).
Với các dự án yêu cầu bạn hỗ trợ cả AMD và CommonJS, sẽ có một định dạng khác là: Universal Module Definition( UMD).
For projects that require you to support both AMD and CommonJS features, there's yet another format: Universal Module Definition(UMD).
Định nghĩa phụ thuộc vào môi trường, nhưng ởlĩnh vực web, thường thì là bất cứ thứ gì có thể làm việc với các module AMD hay CommonJS.
The definition depends on the environment,but in the web we usually mean anything that supports AMD or CommonJS modules.
Cậu có thểviết nhiều file JavaScript xác định AMD hoặc CommonJS và bạn có thể dùng các công cụ như Browserify để gói lại.
You can writemultiple JavaScript files defining the AMD or CommonJS API and you can use something like Browserify to bundle them up.
Là trình tải mô- đun có thể nhập mô- đun vào thời gianchạy ở bất kỳ định dạng phổ biến nào được sử dụng hôm nay( CommonJS, UMD, AMD, ES6).
JS is a module loader that can import modules atrun-time in any of the popular formats used today(CommonJS, UMD, AMD, ES6).
Weback cho phép bạn sử dụng nhiều module manager khác nhày,mà không chỉ mấy cái CommonJS không thôi, như native ES6 cũng có hỗ trợ module nữa.
Webpack allows you to use different module managers,and not only CommonJS ones, so for instance native ES6 supported modules.
Và sau đó cho nút, tôi đã sử dụng cơ chế tải CommonJS bình thường trong cùng một tệp, nhưng chúng được gated đằng sau một câu lệnh if đơn giản để nhập khẩu các mô- đun.
And then for node, I used the normal CommonJS loading mechanism in the same file, but they are gated behind a simple if statement to import the modules.
Bên cạnh tính chất không đồng bộ, module của bạn còn có thể là object, hàm, hàm dựng, string, JSON vànhiều kiểu dữ liệu khác, trong khi CommonJS chỉ hỗ trợ object làm module.
Aside from asynchronicity, another benefit of AMD is that your modules can be objects, functions, constructors, strings,JSON and many other types, while CommonJS only supports objects as modules.
Một module CommonJS thực ra là một đoạn JavaScript tái sử dụng được, có khả năng export một số object nhất định, giúp các module khác có thể require trong chương trình của chúng.
A CommonJS module is essentially a reusable piece of JavaScript which exports specific objects, making them available for other modules to requirein their programs.
Kết quả: 24, Thời gian: 0.0151

Truy vấn từ điển hàng đầu

Tiếng việt - Tiếng anh