[Prototype-core] Re: Development Roadmap

2008-01-08 Thread Michael Schuerig
On Tuesday 08 January 2008, Tobie Langel wrote: [about http://schuerig.de/michael/blog/index.php/2008/01/07/dom-change-notification/] > That's awsome. Very insightful remarks, too. > > How does the performance feel ? No idea :-O I've done it primarily because I need the functionality for my f

[Prototype-core] Please add missing documention:

2008-01-08 Thread John-David Dalton
Hi all, The following methods are missing documentation: Element.setOpacity(); Function.argumentNames(); Function.methodize(); Thanx, - John-David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype: Core"

[Prototype-core] Javascript closures

2008-01-08 Thread Simon Thomas
Can anyone tell me the difference between the following (or a better place to ask this question) 1) var myVar = function(args){ // inner functions and vars }; 2) var myVar = (function(args){ // inner functions and vars }); 3) var myVar = (function(args){ return { inner functions and va

[Prototype-core] Javascript closures question

2008-01-08 Thread Simon Thomas
Can anyone explain the difference in the folllowing and when and why to use each of the methods. (Or knows a better place to ask this question) 1) var myVar = function(args){ // inner functions and vars }; 2) var myVar = (function(args){ // inner functions and vars }); 3) var myVar = (fun

[Prototype-core] Re: Javascript closures question

2008-01-08 Thread Simon Thomas
PS for some reason this forum code keeps splitting the 3rd example into the 'Show Quoted Text' area grr :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send

[Prototype-core] Re: Please add missing documention:

2008-01-08 Thread Mislav Marohnić
On Jan 8, 2008 11:35 PM, John-David Dalton <[EMAIL PROTECTED]> wrote: > > The following methods are missing documentation: > > Element.setOpacity(); http://prototypejs.org/api/element/setOpacity Function.argumentNames(); http://prototypejs.org/api/function/argumentNames Function.methodize();

[Prototype-core] Javascript closures

2008-01-08 Thread Simon Thomas
Can anyone tell me the difference between the following (or a better place to ask this question) 1) var myVar = function(args){ // inner functions and vars }; 2) var myVar = (function(args){ // inner functions and vars }); 3) var myVar = (function(args){ return { //inner functions a

[Prototype-core] Re: Javascript closures question

2008-01-08 Thread Nicolás Sanguinetti
On Jan 8, 2008 11:20 PM, Simon Thomas <[EMAIL PROTECTED]> wrote: > > Can anyone explain the difference in the folllowing and when and why > to use each of the methods. > (Or knows a better place to ask this question) > > 1) > var myVar = function(args){ >// inner functions and vars > }; This

[Prototype-core] Re: Javascript closures question

2008-01-08 Thread Mislav Marohnić
Nicolás shouldn't have answered your question because this group is for discussion of development for Prototype core library. You can ask general questions on "rails-spinoffs" group or, if it's only related to Core JavaScript, on any other JavaScript mailing list. Thanks! On Jan 9, 2008 2:36 AM,

[Prototype-core] Re: Javascript closures question

2008-01-08 Thread Simon Thomas
Thanks Nicolas, As i thought, just was unsure if method 2 had any significance with the use of wrapping parenthesis.Obviously not, thanks for clearing that up for me. I found the Module pattern originally on Douglas Crockfords site and am playing around with it. Currently trying to get my head a

[Prototype-core] Re: Javascript closures question

2008-01-08 Thread Nicolás Sanguinetti
On Jan 8, 2008 11:44 PM, Mislav Marohnić <[EMAIL PROTECTED]> wrote: > Nicolás shouldn't have answered your question because this group is for > discussion of development for Prototype core library. > > You can ask general questions on "rails-spinoffs" group or, if it's only > related to Core JavaSc

[Prototype-core] Re: Javascript closures question

2008-01-08 Thread Simon Thomas
Ye sorry Mislav, Haven't found a decent Javascript discussion group/forum. Been playing around with Prototype recently, just figured this would be a good place to ask. I don't use Rails myself, Php, Mysql and Javascript developer mainly. --~--~-~--~~~---~--~~ You