On Tue, Oct 21, 2008 at 6:32 AM, Per Cederberg [EMAIL PROTECTED] wrote:
MochiKit 1.4 has now been released and is available on the web site.
Congrats, and thanks for all of your hard work putting the release together!
It has been a real pleasure to use such a stable codebase in our
projects,
On Wed, Sep 10, 2008 at 3:53 PM, Per Cederberg [EMAIL PROTECTED] wrote:
Suggested formatting types:
s - Output from toString(), this is the default
r - Output from MochiKit.Base.repr()
b - Binary. Outputs the number in base 2.
c - Character.
d - Decimal Integer. Outputs the number in base
On Fri, Sep 12, 2008 at 1:26 PM, Bob Ippolito [EMAIL PROTECTED] wrote:
d is for integers, f is for fixed point.
1 mochifmt:f(${0:.2f}, [1.234]).
$1.23
Love it.
Though I finally RTFM'd and found twoDigitFloat(), so this particular
case already sucks less.
On Tue, Aug 19, 2008 at 1:26 PM, Jason Bunting
[EMAIL PROTECTED] wrote:
I think using aliases is nice, but your particular pattern of using MochiKit
may not be the same as others, so I don't see a reason to change things.
That's exactly right.
I prefer ge = getElementsByTagAndClassName; but
The New York Times does this. Pick any story at http://nytimes.com/
and double-click a word.
It turns out that it's kind of annoying, actually, because it is
unexpected behavior. But that obviously varies case-by-case.
By the way, you shouldn't connect every span to an event. Just connect
the
Hi MochiKitters,
I've been using the following trick successfully for a few months now.
It _seems_ to work fine cross-browser and cross platform.
script type=text/javascript
signal(window,'ondomload');
/script
/body
/html
But based on the recent thread about implementing ondomload, I assume
On 8/14/07, Gábor Farkas [EMAIL PROTECTED] wrote:
hi,
when using the mochikit-signal-framework,
i usually connect the signals i use in the window.onload event.
but i'm slightly worried that it might happen, that an user clicks on
something before the onload-event is fired, and in that
Greetings fellow MochiKitters!
I often find myself having to remove one or two values from a list,
and I cringe a little when I write code in the following pattern:
this.selected = list( ifilterfalse( bind( function(itemid){ return
itemid==item.id }, item ), this.selected ) );
Is there a