// Avoid `console` errors in browsers that lack a console. (function() { var method; var noop = function () {}; var methods = [ 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', 'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn' ]; var length = methods.length; var console = (window.console = window.console || {}); while (length--) { method = methods[length]; // Only stub undefined methods. if (!console[method]) { console[method] = noop; } } }()); // Place any jQuery/helper plugins in here. /*!--------------------------------------------------------------------------* * * jquery.heightLine.js * * MIT-style license. * * 2013 Kazuma Nishihata * http://www.to-r.net * *--------------------------------------------------------------------------*/ !function(e){e.fn.heightLine=function(){var t,i=this,n=Math.random(),o={op:{maxWidth:1e4,minWidth:0,fontSizeCheck:!1},setOption:function(t){this.op=e.extend(this.op,t)},destroy:function(){i.css("height","")},create:function(t){var n=this,o=0,r=e(window).width();n.setOption(t),r<=n.op.maxWidth&&r>=n.op.minWidth&&i.each(function(){e(this).outerHeight()>o&&(o=e(this).outerHeight())}).each(function(){var t=o-parseInt(e(this).css("padding-top"))-parseInt(e(this).css("padding-bottom"));e(this).height(t)})},refresh:function(e){this.destroy(),this.create(e)},removeEvent:function(){e(window).off("resize."+n),i.off("destroy refresh"),clearInterval(t)}};if("string"==typeof arguments[0]&&"destroy"===arguments[0])i.trigger("destroy");else if("string"==typeof arguments[0]&&"refresh"===arguments[0])i.trigger("refresh");else if(o.create(arguments[0]),e(window).on("resize."+n,function(){o.refresh()}),i.on("destroy",function(){o.removeEvent(),o.destroy()}).on("refresh",function(){o.refresh()}),o.op.fontSizeCheck){if(e("#fontSizeChange").length<=0){e("").css({width:0,height:"1em",position:"absolute",left:0,top:0}).appendTo("body")}var r=e("#fontSizeChange").height();t=setInterval(function(){r!=e("#fontSizeChange").height()&&o.refresh()},100)}return i}}(jQuery);