[Rails-spinoffs] Positioning

2006-05-15 Thread Eric Anderson
I'm trying to understand the Position object. Specially the various offset methods. From looking at the code I think I may understand them but I wanted to run it by the group to make sure I had a clear understanding. realOffset - This returns the coordinates of the element as if none of the e

Re: [Rails-spinoffs] Javascript Profiler

2006-05-15 Thread Martin Bialasinski
On 5/15/06, Maninder, Singh <[EMAIL PROTECTED]> wrote: Yep, it can. But, it's too clutterred and too much info. Try this as a start. var Benchmark = new function(){ this.starttime = []; this.start = function(text) { this.starttime.push([new Date(), text || ""]); } this.stop = function

RE: [Rails-spinoffs] Javascript Profiler

2006-05-15 Thread Maninder, Singh
Yep, it can. But, it's too clutterred and too much info. Something simple that I can put in the code like start() stop() profile() would be cool.. :) Unless you have some thoughts (articles) on profiling in venkman. Thanks, Mandy. ___ Rails-spinof

Re: [Rails-spinoffs] Javascript Profiler

2006-05-15 Thread Deco Rior
Like Venkmann? I reads somewhere it can do this? On May 15, 2006, at 5:24 AM, Maninder, Singh wrote: Has anyone implemented a Javascript Profiler based on prototype (or not based on it)? ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrail

[Rails-spinoffs] Javascript Profiler

2006-05-15 Thread Maninder, Singh
Has anyone implemented a Javascript Profiler based on prototype (or not based on it)? ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] 2 clone methods?

2006-05-15 Thread Martin Bialasinski
On 5/15/06, Eric Anderson <[EMAIL PROTECTED]> wrote: I was reviewing the prototype library (current SVN version) to try to understand the library better. I noticed there are two implementations of the "clone" method on the Position object. The first one is just some leftover code. It is overwri