require function

dynamic require (
  1. String id
)

Loads module with specified id.

Note that this is not actually a global variable and when compiled to JavaScript proxies all calls to the require function of main application module.

Implementation

external dynamic require(String id);