--
You received this message because you are subscribed to the
Orbited discussion group.
To post, send email to
<orbite...@googlegroups.com>
To unsubscribe, send email to
<orbited-user...@googlegroups.com>
For more options, visit
<http://groups.google.com/group/orbited-users>
I'm likely doing something wrong with the environmental setup here,
I'm familiar with javascript in the browser, but considering what I'm
trying to do I'm starting to wonder what the purpose of "compiling"
does that I can't just do with cut&paste in notepad++. Likely some
minification I'm guessing, but this is getting a bit too difficult for
me not to start asking questions...
From what I remember the compiler.js should have a setDebugLevel
function, at least using the latest js.io source from github.
When I compiled Orbited 0.8 js I actually had to modify Orbited.js,
maybe you can find some pointers there.
Regards,
Niklas
On Nov 30, 3:31 am, Erik Anderson <eri...@teamworkgroup.com> wrote:
> Okay, managed to get back to this again. As the error message is
> rather... lengthy, I've stuffed it intohttp://pastebin.com/Eh1ZzjVD
I think I just ran into a new brick wall, but this time it's in
Orbited2 rather than js.io so I prob won't get much help in this
thread (use of Orbited2.Connection.send() requires a local variable
named 'id' not defined or passed from anywhere).
It would be very nice if someone could somewhere define such concepts
such as Class, bind, Transport, Protocol, etc. So much of my time is
being spent wandering around the code for instance wondering how to
get a Protocol to use a TCPSocket.
As a side note, i did attempt to recompile my jsio_compile (in case I
had an out-of-date version) with no effect to the posted error.
All the code I have been using is taken off of git master tip.
Regards,
Niklas
{
"root": "./Orbited2",
"externalName": "Orbited2",
"transports": ["csp", "websocket"],
"environments": ["browser"],
"additional_dependancies": [ ]
}
And recompiled (while in js_src) with "jsio compile Orbited2.pkg -o
Orbited2-new.js"
That said, I haven't got an active Orbited2 setup at the moment, but
if you have the time to try I uploaded the new Orbited2.js to:
http://www.snyggastchatten.se/chat/Orbited2-new.js
Please try it out and see if you still get the .Connection.send()
issues, if so I'll setup an Orbited2 and help you debug. Does that
sound OK?
On Dec 13, 9:29 am, Niklas B <biv...@gmail.com> wrote:
> Erik, I tried the new js.io and compilation is MUCH easier. Could you
> try to follow the instructions I posted onhttp://groups.google.com/group/orbited-users/browse_thread/thread/4f2...