added note to test helper

This commit is contained in:
John Bender 2011-12-20 17:08:02 -08:00
parent af50e19b1f
commit 37fdf3a7ca

View file

@ -12,6 +12,10 @@
return;
}
// if the file has a dot in the name its most likely a lib file
// so we should grab it from the js directory. This could be regarded
// as overeager convention ... don't care its a test helper and the
// failure will be obvious if it happens (eg "can't load this file")
require({
baseUrl: (seq[i][0].indexOf(".") > -1) ? "../../../js" : location.pathname
});