mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
33 lines
962 B
JavaScript
33 lines
962 B
JavaScript
// Added noise to test AST walker
|
|
for (var i = 0; i < 5; i++) {
|
|
square(i);
|
|
}
|
|
|
|
exports.directoryDefaults = require('./utils');
|
|
exports.directoryMain = require('./newmodule');
|
|
exports.resolvesJSoverDir= require('./dir/a');
|
|
exports.math = require('test-math');
|
|
exports.mathInRelative = require('./dir/b');
|
|
exports.customMainModule = require('test-custom-main');
|
|
exports.customMainModuleRelative = require('test-custom-main-relative');
|
|
exports.defaultMain = require('test-default-main');
|
|
exports.testJSON = require('./dir/c');
|
|
exports.dummyModule = require('./dir/dummy');
|
|
|
|
exports.eventCore = require('sdk/event/core');
|
|
exports.promise = require('sdk/core/promise');
|
|
|
|
exports.localJSM = require('./dir/test.jsm');
|
|
exports.promisejsm = require('modules/Promise.jsm').Promise;
|
|
|
|
let math = require('test-math');
|
|
exports.areModulesCached = (math === exports.math);
|
|
|
|
// Added noise to test AST walker
|
|
function square (x) {
|
|
let tmp = x;
|
|
tmp *= x;
|
|
return tmp;
|
|
}
|
|
|