Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2009 (Minneapolis, MN) with: Marc Esher

Benjamin Sterling

Member since Jul 28, 2011

Recent Blog Comments By Benjamin Sterling

  • Using The LAB.js Script Loader With jQuery's DOM-Ready Event

    Posted on Jul 29, 2011 at 10:27 AM

    However, if you could somehow check for the existence of checkboxes without needing to use jQuery, then your .script(fn) call could have been not-nested and directly off the main chain, which would have the slight benefit of letting checkboxes.js load in parallel with the rest of the chain. @kyle:... read more »

  • Using The LAB.js Script Loader With jQuery's DOM-Ready Event

    Posted on Jul 29, 2011 at 9:55 AM

    @Andrea I think we are saying the same thing, there reasoning behind the: var checkboxes = jQuery( 'input[type=checkbox]' ); queue.script( function(){ if( checkboxes.size() ){ return 'jquery.ui.checkbox.js'; } } ) Is that I don't want the check box code to load if there are not checkbox... read more »

  • Using The LAB.js Script Loader With jQuery's DOM-Ready Event

    Posted on Jul 28, 2011 at 10:56 AM

    Once again another great post on LABjs. I am in the process of doing a big project where we are using LABjs and doing more or less what you have posted. In my code we actually need to load other scripts based on what DOM nodes are available. So, if we go off your init function we are doing somethi... read more »