As I understand it
var doBar = function (index, element){....}; jQuery('.foo').each(doBar);
is more efficient than
jQuery('.foo').each(function (index, element){....});
because of compilation, scope and other things I never bothered to understand.
@Velocio If we're doing better font sizing, are scalable icons on the roadmap?
@Emyr started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
As I understand it
var doBar = function (index, element){....};
jQuery('.foo').each(doBar);
is more efficient than
jQuery('.foo').each(function (index, element){....});
because of compilation, scope and other things I never bothered to understand.
@Velocio
If we're doing better font sizing, are scalable icons on the roadmap?