Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
Ajax.InPlaceEditor.addMethods({ createForm: function($super){ console.log($super); // $super is not defined $super(); // exception, $super is not defined }, enterEditMode: function($super, e){ console.log($super); // $super appears to be the event object in this case $super(e); // exception, $super is not a function } });
This paste will be private.
From the Design Piracy series on my blog: