1
0
Fork 0
mirror of https://github.com/rubyjs/therubyrhino synced 2023-03-27 23:21:34 -04:00
therubyrhino/spec/rhino/integration/index.js
kares ebbbf6baf1 reproduced regression with requires similar to LESS loading
+ added a require 'less' as an integration spec
2012-08-24 12:08:06 +02:00

7 lines
No EOL
168 B
JavaScript

console.log('./loop');
require('./loop');
['element1', 'element2'].forEach(function (n) {
console.log('require(./loop/' + n + ')');
require('./loop/' + n);
});