comparison test.js @ 2:b6f9d743a2b5

Refined require() implementation.
author Atul Varma <varmaa@toolness.com>
date Wed, 09 Sep 2009 21:48:49 -0700
parents ab09b8a10876
children 97adec8c8127
comparison
equal deleted inserted replaced
1:ab09b8a10876 2:b6f9d743a2b5
1 var foo = require('foo'); 1 var foo = require('foo');
2 2
3 foo.bar(); 3 foo.bar();
4 4
5 foo = require('foo');
6
7 foo.bar();
8
5 print('hello'); 9 print('hello');