I'm starting to look through
js.io with the intention of implementing
CSP on my server, and I'm coming up with some silly noob questions:
---
1: Does
js.io have to reside in the /jsio folder on my server? I see
a lot of .js files in the distribution, and a lot of jsio("import blah
blah blah...") stuff.
1a: So is
js.io dynamically choosing dependencies in *production/
release* mode? (As opposed to enabling debugging features
1b: Assuming that in production mode, the libraries loaded are known
ahead of time, what are they?*
* (I'm trying to take advantage of some Javascript optimizations that
my server provides.)
---
2: The "world" sample program index.js uses a bunch of calls to $,
but I'm not sure who's defining it. Is
js.io defining $? Is
js.io
magically including jQuery or Prototype?
2a: Is there a way to disable / bypass $ so I can use
js.io with
existing programs that use Prototype or jQuery?
---
3: The Comet Session Protocol states: "The server is recommended to
serve a fully functioning CSP client, and that client should put a
CometSession constructor in the global namespace. The client should be
located at the url:" (
http://orbited.org/blog/files/csp.html, section
3.1.)
Again, regarding the "world" sample program: I can find a csp.js
within the
js.io subdirectory, but I can't find a "static" folder. Am
I missing something here?
---
Please forgive my noobiness.