[Prototype-core] Prototype without browser?

2010-04-21 Thread Rüdiger Plantiko
Dear Prototype core team, I like the syntactic idioms of Prototype, particularly the Enumerable module. The methods really help to improve the readability of JavaScript code. Right now, I am writing a little program in JavaScript which is thought for running in batch mode, i.e. from the command

Re: [Prototype-core] Prototype without browser?

2010-04-21 Thread toxcct
Hi Rüdiger, Are you sure you are using Javascript precisely ? Aren't you using some kind of ECMAScript instead ? because Javascript by definition is Browser oriented, and IMO, it doesn't really make sense to try to use Prototype outside of a browser then. Regards, 2010/4/20 Rüdiger Plantiko

[Prototype-core] Re: Prototype without browser?

2010-04-21 Thread Tobie Langel
Hi, Rüdiger. This is definitely planned for 2.0. toxcct, you might want of have a look at a number of really exciting server side JS frameworks (node.js, narwhal, ringo, etc.). Best, Tobie -- You received this message because you are subscribed to the Google Groups Prototype: Core group.

[Prototype-core] Re: Prototype without browser?

2010-04-21 Thread Rüdiger Plantiko
Hi Tobie and toxcct, This is definitely planned for 2.0. Good news! Looking forward to this then. Probably the best way would be to adapt the build process: Building two different files from the sources - one for the batch / server side context, and another one for the browser context. This

[Prototype-core] Element.Methods.absolutize throws an error in Proto 1.7rc1

2010-04-21 Thread Viktor Kojouharov
Hi, There's a small typo in the newest rc of prototype, here's the small diff: --- a/prototype.js +++ b/prototype.js @@ -4779,7 +4779,7 @@ delete Prototype._original_property; offsetParent.viewportOffset(); var offset = eOffset.relativeTo(pOffset); -var layout =