8 lines
199 B
JavaScript
8 lines
199 B
JavaScript
|
// Provide a "System" global.
|
||
|
module.exports = {
|
||
|
// Make sure import is only used as "System.import"
|
||
|
import: function() {
|
||
|
throw new Error("System.import cannot be used indirectly");
|
||
|
}
|
||
|
};
|