[Prototype-core] Re: Return value of Event.stop()

2010-05-26 Thread T.J. Crowder
+1 on the idea, seems like a winner to me. -- T.J. On May 25, 8:35 pm, Tobie Langel tobie.lan...@gmail.com wrote: Great idea. Would you mind submitting a patch with tests? Thanks, Tobie On May 25, 12:01 pm, Johan Arensman johanm...@gmail.com wrote: Hello everyone, I was just

[Prototype-core] Re: proposal: function to validate HTML

2010-05-08 Thread T.J. Crowder
into mod_validator[3] for Apache. [1] http://validator.w3.org/ [2] http://validator.w3.org/docs/help.html#others [3] http://apache.webthing.com/mod_validator/ HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On May 6, 12:33 pm, walther diechmann

[Prototype-core] Re: Event.observe(window, 'load'.. issue not fixed!

2010-04-15 Thread T.J. Crowder
://prototype.lighthouseapp.com/projects/8886-prototype/overview -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Apr 15, 2:03 pm, Dziamid dzia...@gmail.com wrote: Event.observe(window, 'load', function () {   alert('1');}); Event.observe(window, 'load', function

[Prototype-core] Re: Helping with the web site once it's on github

2010-04-09 Thread T.J. Crowder
Tobie, I'd like the perfect solution as much as anybody, I just haven't bumped into it yet. If you have, please speak up. If not, please spare me that kind of remarks. They're just completely counter-productive Oh for cryin' out loud, Tobie. There are roughly 50 wiki engines out there that

[Prototype-core] Re: Helping with the web site once it's on github

2010-04-09 Thread T.J. Crowder
, Mislav Marohnić mislav.maroh...@gmail.com wrote: On Fri, Apr 9, 2010 at 09:47, T.J. Crowder t...@crowdersoftware.com wrote: We'll have to disagree on that, then, and it's your project. For a project I was running, I would consider it a completely unacceptable barrier to non-code

[Prototype-core] Re: Helping with the web site once it's on github

2010-04-09 Thread T.J. Crowder
Tobie, I'm just not going to continue this, it's a pointless aggravation for both of us. Have a good one, -- T.J. On Apr 9, 1:10 pm, Tobie Langel tobie.lan...@gmail.com wrote: Oh for cryin' out loud, Tobie. There are roughly 50 wiki engines out there that make contributing a darn sight

[Prototype-core] Re: Roadmap

2010-04-08 Thread T.J. Crowder
+1 on more information outside the core team on where Prototype is headed, agnostic as to what form it takes. Since this is the core mailing list, it seems like it would be here, but I don't recall mention of the new layout stuff or on here. (Could be my memory, though.) -- T.J. On Apr 8, 12:06 

[Prototype-core] Re: Kudos to the documentation team

2010-04-08 Thread T.J. Crowder
Yes, but we're moving away from it. So a JavaScript solution would work now, and later (since I assume you're moving from Mephisto to something else that *also* supports JavaScript). If 301s work later, great, but if not there's a fallback position. A script included on each old API page that

[Prototype-core] Re: Kudos to the documentation team

2010-04-08 Thread T.J. Crowder
...I've written an HTML to Markdown parser:http://github.com/mislav/remark Oh, I just know that could be very handy indeed... -- T.J. :-) On Apr 8, 2:51 pm, Mislav Marohnić mislav.maroh...@gmail.com wrote: On Thu, Apr 8, 2010 at 15:11, Tobie Langel tobie.lan...@gmail.com wrote: We'll

[Prototype-core] Re: Helping with the web site once it's on github

2010-04-08 Thread T.J. Crowder
contribution. Installing Jekyll is rather straightforward, though. http://wiki.github.com/mojombo/jekyll/install Best, Tobie On Apr 8, 3:12 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi folks, I think most on the list know that Tobie's trying to move the website off Mephisto

[Prototype-core] Re: Kudos to the documentation team

2010-04-07 Thread T.J. Crowder
Tobie, Can we use JavaScript on Mephisto pages? -- T.J. On Apr 6, 6:49 pm, Tobie Langel tobie.lan...@gmail.com wrote: Urm... really?  You can do 404's but not 301's? I was suggesting crating a good 404 page. Not modifying the http response code. Not saying I don't believe you, I'm just

[Prototype-core] Re: Kudos to the documentation team

2010-04-06 Thread T.J. Crowder
My coworkers still find old docs (http://prototypejs.org/api) by googling. I had to point them to new doc site. I think it's crucial to set up 301 redirects. *ONLY* if all of the old information has now been ported over. Looking at the documentation Lighthouse project[1], it looks like all of

[Prototype-core] API Documentation Sections

2010-04-03 Thread T.J. Crowder
Am I the only one who didn't realize the Sections in the list on the left were clickable? I only found out when I followed a link to the Ajax section from Ajax.Request, trying to find the options so I could point someone at them. In retrospect it's obvious that they would be, and certainly the

[Prototype-core] Kudos to the documentation team

2010-04-03 Thread T.J. Crowder
The new docs Andrew pushed yesterday are a HUGE leap forward! Well done to everyone who contributed to both the content and the improved linkability and such. Major kudos! -- T.J. :-) -- You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to

[Prototype-core] Re: Capturing BACK BUTTON event in IE

2010-03-02 Thread T.J. Crowder
(Separately: Do you *really* want to publish your phone number on the web?) Happy coding, -- T.J. Crowder (one of several moderators) On 2 March 2010 10:47, Medisetti Rajesh(Dora Babu) medisetti.raj...@gmail.com wrote: hi friends, Is there any way to capture the BACk BUTTON event in IE? You

[Prototype-core] Re: parameters Encoding differents in Ajax Request

2010-01-03 Thread T.J. Crowder
of the development of the Prototype library, not discussion about using it. The user's discussion group is here: http://groups.google.com/group/prototype-scriptaculous ...although from the discussion so far, this doesn't seem to be related to Prototype so much as HTML and PHP. Good luck with it, -- T.J

[Prototype-core] Re: Class inheritance by reference

2009-12-23 Thread T.J. Crowder
mechanism and covered by unit tests. -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Dec 22, 1:08 pm, Sakari Tuominen saka...@gmail.com wrote: Hello guys! I've been working with Javascript classes for a while now. I have been using

[Prototype-core] Re: For() loops, ++i, i++, i+=1

2009-12-17 Thread T.J. Crowder
Thanks for that info and link, Robert! Obviously, we who develop web apps for normal users should leave the setting alone most of the time, but good to know we can change it for these sorts of tests. (And wow, I thought it was a time limit; that explains why something I was doing the other day was

[Prototype-core] Re: For() loops, ++i, i++, i+=1

2009-12-17 Thread T.J. Crowder
Forget the CPU cycles, it's the brain cycles I want back. But it was all worth it to learn about JSLitmus. :-) On Dec 17, 3:33 pm, Bob Kerns r...@acm.org wrote: Not to be a curmudgeon about it -- I'll just point out that the CPU cycles consumed in processing the email for this discussion far

[Prototype-core] Re: Support full HTML set in (un)escapeHTML

2009-11-21 Thread T.J. Crowder
Tobie, A correct character encoding should be all you really need to handle such entities. That's rather flip, don't you think? How does character encoding choice solve quot; or nbsp;? These entities are valid HTML, regardless of character encoding. There are sometimes very good reasons for

[Prototype-core] Re: Porting the old docs

2009-11-17 Thread T.J. Crowder
Cheers Mike! I gave you a shout over on the user's list; didn't know you were on this one... -- T.J. :-) On Nov 17, 7:24 pm, Mike Rumble mike.rum...@gmail.com wrote: I can take some of these over the next week or so. Will make a start promptly. Mike. On Nov 16, 4:15 pm, T.J. Crowder t

[Prototype-core] Porting the old docs

2009-11-16 Thread T.J. Crowder
Hey folks, I've just completely failed to find the time to port all of the old docs, which is (as a whole) a much bigger job than I thought it would be. So there are now a bunch of merge old docs tickets[1] in Lighthouse, each of which is just a bite-sized task (and has the mostly-formatted

[Prototype-core] Re: On Class#create

2009-11-11 Thread T.J. Crowder
). [1] http://api.prototypejs.org/language/class.html#create-class_method HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Nov 11, 12:26 am, joneff jon...@gmail.com wrote: I was wondering for the longest time why doesn't Class#create have

[Prototype-core] Re: On Class#create

2009-11-11 Thread T.J. Crowder
be a bit faster. And I say a bit, since notoriously slow means some ticks slower. On Nov 11, 12:44 pm, T.J. Crowder t...@crowdersoftware.com wrote: Class.create does have arguments, details in the docs[1]. The implementation doesn't use any _named_ arguments, it accesses its arguments

[Prototype-core] Re: Class#create and throw new Error()

2009-11-07 Thread T.J. Crowder
] http://api.prototypejs.org/language/class.html HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Nov 6, 4:23 pm, Ilya Furman smashl...@gmail.com wrote: Hello! I'm wondering, why class instance is being created while initialization method

[Prototype-core] Re: Function.EMPTY and Function.K

2009-10-15 Thread T.J. Crowder
it Function.IDENTITY instead of Function.K. On Sep 25, 2009, at 1:26 AM, T.J. Crowder wrote: Make sense.  Shouldn't that be Function.empty and Function.k, though, to follow our naming rules?  And perhaps Function.k should have a more meaningful name. I'm very much in favor of all-caps

[Prototype-core] Re: documentation correction

2009-10-14 Thread T.J. Crowder
with a bit of JSON in a header. You're thinking of when the main content comes back as application/json, in which case it is indeed available as responseJSON. HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com

[Prototype-core] Re: Suggestion: Prototype.Compatibility (was Units of Measurement...)

2009-10-11 Thread T.J. Crowder
Hi Robert, It's a cool idea, but the complexity starts getting explosive (particularly for unit testing). If 2.0 is going to have substantial API changes (and I think it is -- Element wrappers, for one), I'd say we should save up the list of things that -- like Joran's units thing,

[Prototype-core] Re: Units Of Measurement Options Stated Using Lowest Common Denominator Unit Practical

2009-10-10 Thread T.J. Crowder
I, for one, found the units used by Function#delay (for example) to be very surprising when I first saw them, and I have to stop and think every time I use Function#delay. The usual unit for that sort of thing in every language I've worked in other than BASIC is milliseconds. That said, I don't

[Prototype-core] Re: Event#element deprecated?

2009-10-08 Thread T.J. Crowder
Hi Tobie, Event#element has been deprecated for the longest time. Where? Certainly not in the old API docs: http://prototypejs.org/api/event/element My point isn't to disagree about doing it, but that as far as the typical user knows, this is a brand-new decision. -- T.J. On Oct 7, 8:08 

[Prototype-core] Re: Event#element deprecated?

2009-10-05 Thread T.J. Crowder
I had no idea it's deprecated. Isn't it a bit weird to use `findElement` without arguments to get target element? Especially as all it does is call Event#element (in that case). Yes, I find that a bit weird. -- T.J. On Oct 5, 6:45 pm, kangax kan...@gmail.com wrote: On Oct 5, 11:55 am, Ngan

[Prototype-core] Re: Suggestion: String#isEmpty instead String#empty

2009-10-04 Thread T.J. Crowder
I'm with Robert, is there a good use case for these or should we just deprecate them? But if we're going to get into renaming things, Enumerable#include is crying out for an s on the end (if this thing include*s* this other thing then...); without one it seems to say include this argument in the

[Prototype-core] Re: Function.EMPTY and Function.K

2009-09-29 Thread T.J. Crowder
Being serious for a moment, it sounds like we're all happy (enough) with Function.empty. Can't say I *like* Function.identity (I'd prefer Function.passBack) but it at least is readily defensible as being derived from mathematics (like curry) and there are several yea vote for it in this thread.

[Prototype-core] Re: Function.EMPTY and Function.K

2009-09-25 Thread T.J. Crowder
Andrew, Make sense. Shouldn't that be Function.empty and Function.k, though, to follow our naming rules? And perhaps Function.k should have a more meaningful name. -- T.J. On Sep 25, 4:20 am, Andrew Dupont goo...@andrewdupont.net wrote: Unless anyone has serious objections, or has a better

[Prototype-core] Re: bug report - sorry, I didn't find the other way to report bugs in prototype.js

2009-09-25 Thread T.J. Crowder
Hi, I didn't find the other way to report bugs in prototype.js It's described here: http://prototypejs.org/contribute i am quite sure it was supposed to be: if (!responders) return element; Indeed. Well-spotted! -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com

[Prototype-core] Re: Function.EMPTY and Function.K

2009-09-25 Thread T.J. Crowder
We could _so_ overcomplicate this... ;-) On Sep 25, 1:29 pm, Jim Higson j...@wikizzle.org wrote: On Friday 25 September 2009 13:08:57 Rick Waldron wrote: On the subject of end developer confusion, I'd like to make a suggestion regarding the naming... Function.emptyFn Function.returnFn

[Prototype-core] Re: Function.EMPTY and Function.K

2009-09-25 Thread T.J. Crowder
, developers get into silly quibbles as to which is better, etc.  In short, they're annoying - it's better if the framework developers make it clear what the preferred name is, and eventually deprecate the non-preferred ones. My $.02. - rwk On Fri, Sep 25, 2009 at 6:19 AM, T.J. Crowder t

[Prototype-core] FYI - Group Maintenance

2009-09-22 Thread T.J. Crowder
questions (rather than sending them through), directing them to the user's group instead. I've also given this group a minimal welcome message. -- T.J. Crowder tj / crowder software / com --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Prototype-core] Re: lastDescendant

2009-09-19 Thread T.J. Crowder
Hi, These sorts of questions are best asked in the users mailing list.[1] This list is for core development. (And no, you don't need to extend the element, Element#descendants extends the elements before giving them to you.) [1] http://groups.google.com/group/prototype-scriptaculous -- T.J

[Prototype-core] Re: True Hashes using objects as keys

2009-09-11 Thread T.J. Crowder
@Samuel: I've been working on this too and had quite reasonable performance I like it, _should_ perform a *lot* better than a straight array given a reasonable distribution of keys. This is similar to what Java's HashMap does (not that I'm holding it up as a model of high performance). @Jim:

[Prototype-core] Re: Private methods for prototype class

2009-09-10 Thread T.J. Crowder
Hi Ngan, This question is probably more appropriate for the user's group[1], rather than the core development group. If you'll repost over there, there are a couple of things to point out in that stuff... [1] http://groups.google.com/group/prototype-scriptaculous -- T.J. Crowder tj / crowder

[Prototype-core] Re: True Hashes using objects as keys

2009-09-10 Thread T.J. Crowder
it as not worthwhile). I'm not aware of any plans to do so. I suspect you'd be better off (from a performance standpoint) building toString / fromString support into your keys. FWIW, -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com On Sep 10, 7:07 pm, James Aimonetti james.aimone...@gmail.com

[Prototype-core] Re: Possible bug when adding additional element methods in IE8

2009-09-10 Thread T.J. Crowder
). I will just make this function exists in IE6 7, but not 8 for now, unless someone can tell me what exactly is causing this. If someone wants to, I can still attach a simple test for this. On Sep 10, 4:07 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi Viktor, Could you put

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-09 Thread T.J. Crowder
Hi all, I thought of a wrinkle today: Mixins. This new mechanism modifies function instances if they override base class functions (it leaves them alone if they don't). So if you mix in something that has a function with the same name as a parent class's function, we will set a $super

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-09 Thread T.J. Crowder
Hi Allen, Thanks. I agree, it's a very edgy edge case. :-) (wouldn't the current let you do this as well?) Actually, it works in the current implementation, because if a mixin function uses $super (which again is a bit odd), addMethods wraps it up in a closure and never modifies the actual

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-09 Thread T.J. Crowder
Hi Robert, That's a very interesting use case, thanks for that. I can certainly see the utility of that, and in fact as I was writing all of this up for my (pathetic little) blog I was getting increasingly uncomfortable with the mixin issue. If it's important for mixins to participate in

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-08 Thread T.J. Crowder
Hi Jim, Perhaps I would do: var B = Class.create(A, { nifty: function(){ var $super = this.nifty.$super.bind( this ); // $super refers to A.nifty() bound to this $super(); } }); [1] Please correct if this is wrong! You need to leave out the this. and use a named

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-08 Thread T.J. Crowder
Hi, It really looks nicer :) Thanks! I haven't run it but I guest it is possible to do this.method.$super.call(this, ...) No, you need to drop the this. from the beginning of that. See my reply to Allen a couple up (or the PDoc comments here[1]) for why.

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-08 Thread T.J. Crowder
Quadling rquadl...@googlemail.com wrote: 2009/9/8 T.J. Crowder t...@crowdersoftware.com: Hi, It really looks nicer :) Thanks! I haven't run it but I guest it is possible to do this.method.$super.call(this, ...) No, you need to drop the this. from the beginning of that.  See my

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-08 Thread T.J. Crowder
my stuff into it: git pull tjcrowder supercalls 5. Build rake dist 6. Profit! Alternately, here's[1] a pre-baked copy for anyone who just wants to grab it and play around, but of course it will go stale fairly quickly. [1] http://gist.github.com/182838 -- T.J. On Sep 8, 1:15 pm, T.J

[Prototype-core] Re: Why have the examples been stripped out of the documentation?

2009-09-08 Thread T.J. Crowder
use frequently. Kudos, T.J. -joe t. On Sep 7, 6:54 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi all, As some of you know, I'm running through all of our old docs and merging them into the PDoc comments in the source, and I've run into a really common theme:  Where methods

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-08 Thread T.J. Crowder
@Allen, For your two suggested additions. I don't think I have ever had a use for either. Thanks. One thing I would like to suggest though is that Class.create take an object or a function as an argument. I _really_ like that idea, not least because it seems to me that by reducing the

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-08 Thread T.J. Crowder
() { ... } function keen() { ... } // Export public methods return {nifty: nifty, spiffy: spiffy, keen: keen}; }); ...while still accepting the form where we've already been given an object. Nice one! -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-08 Thread T.J. Crowder
for jumping into this, -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com On Sep 8, 4:11 pm, Robert Kieffer bro...@gmail.com wrote: I still have some serious reservations about this patch. Before I dive into details, though, can someone please tell me why we're not looking at Dean

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-08 Thread T.J. Crowder
and bound functions, though, and I'm glad to hear that will be finding its way into 1.6.1. -- T.J. :-) On Sep 8, 7:43 pm, Robert Kieffer bro...@gmail.com wrote: On Sep 8, 8:44 am, T.J. Crowder t...@crowdersoftware.com wrote:             arguments.callee.$super.call(this, arg

[Prototype-core] Why have the examples been stripped out of the documentation?

2009-09-07 Thread T.J. Crowder
. Why? (Brief) examples are a good thing in documentation! I'm restoring most of them, adjusting some to be a little more clear, but somebody tell me if there's some strong reason for stripping them out. -- T.J. Crowder tj / crowder software / com

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-06 Thread T.J. Crowder
end up endlessly recursing. Wow that's an easy trap to fall into. No, it's either use the function's name unadorned, or use arguments.callee and pay the performance penalty. Personally, I prefer using the function's name. :-) -- T.J. :-) On Sep 6, 8:48 am, T.J. Crowder t...@crowdersoftware.com

[Prototype-core] Re: Copying arguments

2009-09-06 Thread T.J. Crowder
developers). Both of those are things that have not been done enough in the past and have held back progress, hence trying to move move toward them. As a Prototype user, thank you again for your efforts at improving efficiency, greatly appreciated, -- T.J. Crowder tj / crowder software / com

[Prototype-core] Re: Now that 1.6.1 is out and api.prototypejs.org is official...

2009-09-06 Thread T.J. Crowder
://api.prototypejg.org up and running soon. -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com On Sep 6, 9:35 pm, joneff jon...@gmail.com wrote: Is it just me, or the usability of the new API micro site isn't as good as the old one? I mean before, if I wanted to know more about Event

[Prototype-core] A more efficient $super for Prototype 2

2009-09-04 Thread T.J. Crowder
I would expect most class authors to use, the benefit is less but still marked. Call overhead isn't sexy, but does anyone else think this is worth looking at more closely? -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com --~--~-~--~~~---~--~~ You

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-04 Thread T.J. Crowder
@Allen @Jim, Gets my vote. -- T.J. :-) On Sep 4, 3:05 pm, Jim Higson j...@wikizzle.org wrote: On Friday 04 September 2009 14:09:32 T.J. Crowder wrote: [...] I do _not_ mean that I think callSuper is a great name; I don't and I expect suggestions like yours to result in a better name

[Prototype-core] Copying arguments

2009-09-04 Thread T.J. Crowder
, and that lead to my finding wild differences in a very simple operation (zero-filling an array) across implementations. FWIW, [1] http://stackoverflow.com/questions/1295584/most-efficient-way-to-create-a-zero-filled-javascript-array/1295671 -- T.J. Crowder tj / crowder software / com

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-04 Thread T.J. Crowder
of the great things about the new mechanism is that you don't have to copy args at all if you are willing to use the more verbose syntax. [1] http://groups.google.com/group/prototype-core/browse_thread/thread/cf8c287e231a0192# -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com On Sep 4

[Prototype-core] Re: Odd Maruku errors whilst raking the docs.

2009-09-04 Thread T.J. Crowder
Hi Richard, Yeah, see the PDoc mailing list[1]. Maruku is a no-go, too. :- ( Tobie's getting very frustrated (as am I). [1] http://groups.google.com/group/pdoc?lnk= -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com On Sep 4, 4:59 pm, Richard Quadling rquadl

[Prototype-core] Re: A more efficient $super for Prototype 2

2009-09-04 Thread T.J. Crowder
and sharing it 'round; I'll do that over the weekend. -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com On Sep 4, 6:25 pm, kangax kan...@gmail.com wrote: On Sep 4, 8:15 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi all, I've come up with a new way of handling $super

[Prototype-core] Re: More useful Element.clone method

2009-08-28 Thread T.J. Crowder
-scriptaculous/browse_thread/thread/e5286fee9ac18a40 Happy coding, -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com On Aug 27, 5:36 pm, watermark86 watermar...@gmail.com wrote: I posted this code on the support list, but now that it's working, it seems more appropriate to put

[Prototype-core] Re: Template Class

2009-08-27 Thread T.J. Crowder
://github.com/tjcrowder/prototype/commit/29b76e7a9e9c6168d62f1d1c6da9aafb1bf5086f FWIW, -- T.J. Crowder tj / crowder software / com On Aug 26, 12:28 am, Samuel Lebeau samuel.leb...@gmail.com wrote: Hi, I've been working on a Template rewrite trying to reduce code size and   complexity. It uses

[Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...])

2009-08-27 Thread T.J. Crowder
trying to make it fit in, and make it as cool as the idea warrants. -- T.J. Crowder tj / crowder software / com On Aug 26, 3:33 am, Samuel Lebeau samuel.leb...@gmail.com wrote: Joe, Callback function receives PE instance as first argument, so here   would be the self-stop mechanism

[Prototype-core] Re: Template Class

2009-08-27 Thread T.J. Crowder
Samuel, Sorry for the Simon error in my last post. Years ago I knew a guy named Simon Lebeau, clearly it got ingrained my brain. -- T.J. :-) On Aug 27, 10:35 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi Simon, Funny you should be doing that, I was just looking at Template the other

[Prototype-core] Re: Strict mode?

2009-08-27 Thread T.J. Crowder
Hi Richard, This may be a topic better discussed in the general discussion group [1]. This group is for Prototype core development discussion. [1] http://groups.google.com/group/prototype-scriptaculous -- T.J. Crowder tj / crowder software / com On Aug 27, 10:12 am, Richard Heyes richard.he

[Prototype-core] Re: rake doc in prototype giving error.

2009-08-27 Thread T.J. Crowder
of timeframe, but we're talking hours or days, not weeks. -- T.J. Crowder tj / crowder software / com On Aug 27, 11:43 am, Richard Quadling rquadl...@googlemail.com wrote: Hi. I've just updated my local copy of prototype from git. All looks OK. Rebuilt prototype.js all fine. Run rake doc

[Prototype-core] Re: change DOM on select option

2009-08-27 Thread T.J. Crowder
Hi, This group is for discussion of development of the Prototype library, not usage of it. Please see this group[1]. [1] http://groups.google.com/group/prototype-scriptaculous -- T.J. Crowder tj / crowder software / com On Aug 27, 1:01 pm, clicforw...@googlemail.com clicforw

[Prototype-core] Re: change DOM on select option

2009-08-27 Thread T.J. Crowder
@Allen, Alexander, Rainer, Again, can we please pick this up over on the appropriate group[1]? [1] http://groups.google.com/group/prototype-scriptaculous Cheers, -- T.J. Crowder tj / crowder software / com On Aug 27, 2:50 pm, Rainer Weber clicforw...@googlemail.com wrote: Hello, thanks

[Prototype-core] Future extensions to the Template class

2009-08-27 Thread T.J. Crowder
Hi all, See this fairly half-baked ticket in Lighthouse for context: https://prototype.lighthouseapp.com/projects/8886/tickets/773 Responding to the proof-of-concept commit, Kangax asked whether * was used for this sort of thing anywhere else, and in a private email Tobie flagged up how this in

[Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...])

2009-08-27 Thread T.J. Crowder
Hey Robert, It's true, I was thinking in terms of deprecating PE at some stage... :-) Re #2: Using #bind at least doubles the call overhead, which I'm not a fan of generally. ...have it throw $break! Now that is a very smart idea. -- T.J. Crowder tj / crowder software / com On Aug 27, 4:13

[Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...])

2009-08-27 Thread T.J. Crowder
Exceptions aren't eaten. Good, so a $break-like mechanism is possible then, just moved out a level. -- T.J. On Aug 27, 10:49 pm, Tobie Langel tobie.lan...@gmail.com wrote: *blech* to ES5's enumerable stuff not having $break or similar functionality.  I've just read the forEach section of

[Prototype-core] Re: Form#serializeElement's 'submit' option, doc could use another pair of eyes

2009-08-22 Thread T.J. Crowder
Cheers Allen. -- T.J. :-) On Aug 21, 7:49 pm, Allen Madsen bla...@gmail.com wrote: I've looked it over and your description appears to be correct. Allen Madsen On Fri, Aug 21, 2009 at 11:47 AM, T.J. Crowder t...@crowdersoftware.comwrote: Hi folks, I fixed ticket #21 today

[Prototype-core] Form#serializeElement's 'submit' option, doc could use another pair of eyes

2009-08-21 Thread T.J. Crowder
Hi folks, I fixed ticket #21 today with this commit (my branch, not core): http://github.com/tjcrowder/prototype/commit/47d82530fe3d8751e5c95d528bf324d2fb450666 I'd appreciate it if someone would look hard at the relevant if statement in Form.serializeElements and check that their

[Prototype-core] Re: Permission denied error from 'rake doc'

2009-04-08 Thread T.J. Crowder
Hi Richard, For these really long listings and such, I wonder if it might be better to use Pastie[1] rather than inlining them in messages? (Pastie has a plain text choice.) It's just that with replies and quoting and such, these messages get REALLY long and in some cases they seem to freak out

[Prototype-core] Re: Permission denied error from 'rake doc'

2009-04-07 Thread T.J. Crowder
line on the page, I get a 404 for language \dollara.html. Can anyone build the docs without having that problem? I just need to know whether it's an issue with my setup. Thanks, -- T.J. On Apr 3, 10:41 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi Andrew, Thanks.  With the latest

[Prototype-core] Re: Permission denied error from 'rake doc'

2009-04-03 Thread T.J. Crowder
from the root Prototype directory. Those sound like issues I had run into, and fixed, several weeks ago. Meanwhile, I'll fire up my Windows VM and see what happens when I try to generate docs from there. Cheers, Andrew On Apr 2, 6:17 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi

[Prototype-core] Re: Permission denied error from 'rake doc'

2009-04-03 Thread T.J. Crowder
on Windows. I also know nothing about Ruby, but I suspect that it does as well. -- T.J. On Apr 3, 1:37 pm, Richard Quadling rquadl...@googlemail.com wrote: 2009/4/3 T.J. Crowder t...@crowdersoftware.com: Hi Andrew, T.J., are you sure you're running the latest code? Yup, for the Ubuntu system

[Prototype-core] Re: Permission denied error from 'rake doc'

2009-04-02 Thread T.J. Crowder
, T.J. Crowder t...@crowdersoftware.com wrote: Hi Andrew, Thanks for the help.  Yeah, it is weird, isn't it? :-)  And yet we have permission to delete it (apparently, as it does get deleted). Are you logged in as an administrator? I am indeed, and that file is being created in the temp

[Prototype-core] Re: Permission denied error from 'rake doc'

2009-04-02 Thread T.J. Crowder
? I wonder if this has only been used successfully on Windows (if even there?), Mac OS X, and the like that don't (by default) have case-sensitive file systems... -- T.J. On Apr 2, 10:08 am, T.J. Crowder t...@crowdersoftware.com wrote: Folks, Can anyone build the docs other than Tobie and Andrew

[Prototype-core] Re: Function.prototype.defer

2009-03-29 Thread T.J. Crowder
wouldn't want to explain the subtle effects of that to confused users. :-) Again, FWIW, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Mar 29, 9:05 am, Yaffle vic99...@yandex.ru wrote: Should I use defer method for browsers, which

[Prototype-core] Anyone with PDoc working who can test a trivial patch for me?

2009-03-25 Thread T.J. Crowder
Thanks in advance, -- T.J. Crowder tj / crowder software / com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe

[Prototype-core] Re: Thoughts on Namespacing Native APIs

2009-03-25 Thread T.J. Crowder
://groups.google.com/group/prototype-core/browse_thread/thread/16d0517ecc605a00/c9cfe041c1da19de FWIW, -- T.J. Crowder tj / crowder software / com On Mar 25, 12:32 pm, Robert Kieffer bro...@gmail.com wrote: On Mar 24, 3:32 pm, Tobie Langel tobie.lan...@gmail.com wrote: Unfortunately, a number

[Prototype-core] Re: Protopacked version bigger than original?

2009-03-21 Thread T.J. Crowder
Wes, Please use the general Prototype script.aculo.us discussion group[1] for general discussion; this list is for core development discussion only. [1] http://groups.google.com/group/prototype-scriptaculous Thanks, -- T.J. Crowder tj / crowder software / com Independent Software Engineer

[Prototype-core] Re: Cloned repo via git, not seeing the unit test html files

2009-03-21 Thread T.J. Crowder
(Yes, I do have JavaScript allowed to do anything it wants with the window.) * Refuses to test against Safari 3.2.2, says it's not supported on Windows [1] http://prototypejs.org/download FWIW, -- T.J. :-) On Mar 20, 8:59 pm, kangax kan...@gmail.com wrote: On Mar 20, 3:03 pm, T.J. Crowder t

[Prototype-core] Cloned repo via git, not seeing the unit test html files

2009-03-20 Thread T.J. Crowder
at it or give me an idea where I may have gone astray? Thanks in advance, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Prototype-core] Re: Cloned repo via git, not seeing the unit test html files

2009-03-20 Thread T.J. Crowder
unittest_js submodules. Let me know how things go. Best, Tobie On Mar 20, 10:39 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi all, I don't seem to be seeing the unit test HTML files.  Apologies if I've done something daft, but I'm running out the door so I thought I'd ping

[Prototype-core] Re: Prototype in 10 steps... what are they?

2008-11-18 Thread T.J. Crowder
. -- T.J. Crowder tj / crowder software / com On Nov 18, 5:56 am, Andrew Dupont [EMAIL PROTECTED] wrote: I'm thinking about how we can flatten the learning curve. If you were to teach someone how to use Prototype in 10 incremental steps, what would they be? I've got only nine so far, but here

[Prototype-core] Re: Style Guide for rewrite branch

2008-11-15 Thread T.J. Crowder
name. (ECMA spec[1], section 13.) [1] http://www.ecma-international.org/publications/standards/Ecma-262.htm -- T.J. Crowder tj / crowder software / com On Nov 15, 7:43 am, artemy tregubenko [EMAIL PROTECTED] wrote: On Fri, 14 Nov 2008 01:59:07 +0300, kangax [EMAIL PROTECTED] wrote: My only

[Prototype-core] Style Guide for rewrite branch

2008-11-12 Thread T.J. Crowder
what's going on. -- T.J. Crowder tj / crowder software / com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from

[Prototype-core] Re: new Effect with onComplete

2008-11-11 Thread T.J. Crowder
Hi, You'll want to post to the user's group: http://groups.google.com/group/prototype-scriptaculous This groups is for core development discussion, not end user questions. HTH, -- T.J. Crowder tj / crowder software / com On Nov 11, 10:26 am, cleriker [EMAIL PROTECTED] wrote: Hi there, i

[Prototype-core] Re: Prototype.js mistakes

2008-11-09 Thread T.J. Crowder
} ...to avoid the HTML parser ending the script early. -- T.J. Crowder tj / crowder software / com On Nov 9, 5:33 am, kangax [EMAIL PROTECTED] wrote: On Nov 8, 6:14 am, T.J. Crowder [EMAIL PROTECTED] wrote: Yaffle, (Just FWIW, I sense you're not a native English speaker, so I'll just mention

[Prototype-core] Re: Prototype.js mistakes

2008-11-08 Thread T.J. Crowder
-standard behavior not implemented by other browsers (IE and Safari, for instance). [1] http://www.prototypejs.org/contribute [2] http://www.ecma-international.org/publications/standards/Ecma-262.htm -- T.J. Crowder tj / crowder software / com On Nov 8, 7:04 am, Yaffle [EMAIL PROTECTED] wrote: var

[Prototype-core] Re: Memory Leak on IE

2008-10-30 Thread T.J. Crowder
which elements within the element being replaced are being watched, you might look at event delegation instead, which involves fewer handlers placed at a higher (e.g., container) level. FWIW, -- T.J. Crowder tj / crowder software / com On Oct 30, 7:57 am, Yee Keat Phuah [EMAIL PROTECTED] wrote: Hi

[Prototype-core] Re: Memory Leak on IE

2008-10-30 Thread T.J. Crowder
Looks like Firefox already has it: https://developer.mozilla.org/En/DOM_Events Googling DOMNodeRemovedFromDocument site:microsoft.com brings no joy, however. :-) -- T.J. Crowder tj / crowder software / com On Oct 30, 9:02 am, T.J. Crowder [EMAIL PROTECTED] wrote: Hi, FWIW, I don't think

[Prototype-core] Re: Memory Leak on IE

2008-10-30 Thread T.J. Crowder
may differ. :-) -- T.J. Crowder tj / crowder software / com On Oct 30, 9:41 am, Yee Keat Phuah [EMAIL PROTECTED] wrote: Hi, On Thu, Oct 30, 2008 at 5:02 PM, T.J. Crowder [EMAIL PROTECTED] wrote: FWIW, I don't think this is a bug in Prototype.  Prototype keeps track of the event handlers

  1   2   >