Activity (RSS)
Thursday, September 02 2010
Wednesday, August 25 2010
Thursday, August 19 2010
Friday, July 23 2010
Tuesday, June 29 2010
Monday, June 28 2010
Monday, June 14 2010
Friday, June 11 2010
Thursday, June 10 2010
Wednesday, June 09 2010
Tuesday, June 01 2010
-
Joe Gornick commented+1 for
equalsandlike.Yes the
is*syntax is more consistent with other methods likeisString, however, it works there because it's a known type we are compari... -
John-David Dalton commentedSam Leb also has a version http://github.com/samleb/prototype-fruits/blob/master/src/comparable.js but I think both James' and Sam's are a bit too complex for ...
-
T.J. Crowder commented@JDD: I realize it's not touching the expression. But I've learned something here, I thought that IE skipped the name when processing the expression, but a quic...
-
John-David Dalton commented@T.J. Crowder no it just clears the declarations created by JScript it doesn't clear the expressions.
-
Kit Goncharov commented@JDD: Oops. :P I should probably revert my cleanups, then...I misunderstood you earlier when we were talking about possibly removing that pattern. For my cleanu...
-
John-David Dalton commentedWhile our API does use the
isprefix for methods that return abooleanit also allows verbs/adverbs without a prefix likeupdate(), up(), down(), next(), previo... -
T.J. Crowder commented@JDD: What purpose does all of that serve, then? The functions that end up getting bound to the property are anonymous, why bother with the names at all if you'...
-
John-David Dalton commented@T.J. Crowder the named expressions are cleaned up via the
var like = null, equals = null;. I keep to that pattern so that I can easily parse out the named expr... -
T.J. Crowder commentedFWIW, not being au fait with much of Fuse's API, I prefer
equalsandlike. I've never been a fan of theisXyznaming style. If it's consistent with the rest of ... -
- State changed from new to open
- Assigned user changed from John-David Dalton to Kit Goncharov
I was just thinking about implementing something like this. :) I can go ahead and get started, if that's okay with everyone.
With re:to naming: although 'like' ...
-
John-David Dalton created the ticketAdd fuse.Class.mixins.comparable mixin for equals() and like() methods.
Do you guys like isEqual/isLike or equals/like ?
fuse.Class.mixins.comparable = { }; ...