mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
added note to test helper
This commit is contained in:
parent
af50e19b1f
commit
37fdf3a7ca
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue