documenting latest changes in /src/foundation

0 views
Skip to first unread message

agent marmorkuchen

unread,
Mar 17, 2009, 12:14:48 PM3/17/09
to groundcrew-vie...@googlegroups.com
hello there...

looking at /src/foundation:

- jquery_plus has a new function called position. i would rename its
argument position to orientation to not confuse function and variable
(probably in error messages?)

- other_extensions has a this definition:
Function.prototype.to_func = function(){ return this; };
i don't understand what it does. when this method is called in a
function, it returns the function itself? what is the difference between
myfunc = f and myfunc = f.to_func()?

- string_extensions:
+ is there a specific reason why there are to_obj and to_func
instead of Ruby-like to_o and to_f (like to_h in array_extensions)?
+ to_words: i am still not sure if that is a good name for it, as it
replaces some words in the string by a blank. what is the criterion
for the words to be replaced?


bye,
marmorkuchen

--
_ ascii ribbon campaign .oOo. GCSd-s:+aC++ULB+++W++M+PS+++Y+
( )
X Fnord is why Lisp has so many parentheses.
/ \

Reply all
Reply to author
Forward
0 new messages