lib/plugins/resize.js in shining-1.3.0 vs lib/plugins/resize.js in shining-1.3.1

- old
+ new

@@ -1,7 +1,6 @@ -// resize.js: Shining plugin for resizing the font sizes depending -// on the available screen dimensions +// resize.js: Shining plugin for resizing the stage's base font size depending on available screen dimensions $(window).resize(function() { $.throttle(function() { var width = $(window).width(); if (width < 480) { @@ -16,8 +15,8 @@ $('#stage').css({fontSize: '160%'}); } else if (width >= 1280 & width < 1024) { $('#stage').css({fontSize: '180%'}); } else if (width > 1280) { $('#stage').css({fontSize: '180%'}); - } + } }, 500); })