1
0
Fork 0
mirror of https://github.com/rubyjs/therubyrhino synced 2023-03-27 23:21:34 -04:00
therubyrhino/spec/rhino/integration/loop/element2.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

8 lines
No EOL
200 B
JavaScript

console.log('loop/element2 1');
(function (loop) {
console.log('loop/element2 2');
loop.fn2 = function (arg1, arg2) {
return arg1 + arg2;
};
})(require('../loop'));
console.log('loop/element2 3');