Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
var self = this; $(args.annotations).each(function (i,x) { if ( this.type in self.annotations ) { self.annotations[ this.type ].push(this); return } self.annotations[ this.type ] = [ this ] ; var label = $('<label>').appendTo(div) .append( $('<input>', { type: "checkbox", value: this.type, click: function() { self.toggleAnnotationType( $(this).val() ) } } ) ) .append( this.type ); } );
This paste will be private.
From the Design Piracy series on my blog: