require: ensure current dir won't be searched
commit3a4ac71d3420ea7b300e7376e078a19455873aa4
authorJohn Foerch <jjfoerch@earthlink.net>
Tue, 6 Apr 2010 16:30:20 +0000 (6 12:30 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Tue, 6 Apr 2010 16:30:20 +0000 (6 12:30 -0400)
treec8b2aa22fff8ec1742522766298383ebab8f17be
parent2bb7d11a28cc54c9927fd15ba85bf655aaf58e41
require: ensure current dir won't be searched

require should only search in load_paths, never the directory of the
current load.
components/application.js
tests/simple/modules.js