/*! Re-Layout - v0.1.0 - 2013-01-11 * https://github.com/seltar/Re-Layout * Copyright (c) 2013 Yonas Sandbæk - yonas.sandbaek@creuna.no - creuna.no * Licensed MIT */ (function(e,t,n,r){function o(n,r){this._name=i,this._defaults=e[i].defaults,this.element=n,this.$el=e(this.element),this.options=e.extend({},this._defaults,r),this.init(),this.order(this.options.width||e(t).width());var s=this;e(t).resize(function(n){s.order(e(t).width())})}var i="relayout",s={breakpoints:{mobile:320,tablet:720,desktop:960},width:0};o.prototype.init=function(){var t=this,n=0,i=0,s=0,o=this.$el.children(),u=e.extend({},t.options.breakpoints),a=e.extend({},t.options.breakpoints);for(n in u){u[n]=[],a[n]=[];for(i=0,s=o.length;i=this.options.breakpoints[n]))break;t=n}for(var r=0,i=this.ordered[t].length;r