The examples here are taken from Function page of the Prototype JS api documentation. They have been re-written to reflect the Prototype XUL changes. Hope they help!
argumentNames
var fn = function(foo, bar) {
return foo + bar;
};
argumentNames(fn); //['foo', 'bar']
bind
var fn = function(foo, bar) {
return foo + bar;
};
argumentNames(fn); //-> ['foo', 'bar']
bindAsEventListener
var obj [...]
Full story »
For the most part the functionality of Prototype XUL works the same as normal prototype. The prototype documentation can be found here. The underlying changes are in the methods that extend Prototype.function. The functions that have been re-written are: argumentNames, bind, bindAsEventListener, curry, delay, defer, wrap and methodize. The core difference in use, is that [...]
Full story »
While writing out the Prototype XUL documention I came across a nasty little bug that took me a few hours to fix. I will wrap up the documentation tomorrow. If you downloaded the Prototype XUL 1.6.0.2 file anytime before today, please upgrade (the version number has not change).
Full story »
Drum roll please… After three attempts/failures, I present to you the newest version of the Prototype XUL library! The previous released version technically never worked. It was something I threw together for a Firefox project that only required the basic of functionality (Ajax.Request, utility functions, etc.). I was under the impression that converting the functions [...]
Full story »
Let preface this by saying I actually do love facebook and check it a few times a day. I have followed them as a company from the moment my school was listed, several years ago. There were even thoughts in the past of applying for a job there.
Now to my little rant… These applications are [...]
Full story »
I received my first schwag bag from startupschwag.com last week. Startup Schwag has picked up where Valley Schwag failed and left off. It’s basically a t-shirt of the month club for web 2.0 companies. The first bag I recieved had a mashable t-shirt and a ton of great stickers. The other past shirts have been [...]
Full story »
I have spent the last few minutes trying to come up with a good excuse to why I haven’t posted in the past few weeks. Early January was excusable. I was snowboarding in Lake Tahoe from Jan 2nd to the 9th. Just before I left my hard drive crashed. I didn’t have time for diagnosis [...]
Full story »