Giacecco
unread,Jul 31, 2010, 7:48:44 AM7/31/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to appenginejs
I've noticed some time ago, but never investigated further, the way we
can "require" other javascript code using relative paths that work
simultaneously:
1) starting from where the referrer is, e.g. require("foo") can mean
foo.js in the same folder as the referrer javascript file is, and
2) starting from [application path]/packages/appengine/lib, e.g.
require("google/appengine/ext/db") means [application path]/packages/
appengine/lib/google/appengine/ext/db.js
I can't understand how (2) works. I expected some setting to be hidden
somewhere but can't find it. How does it work?
G.