Skip to content

Commit

Permalink
Fixed incorrect indentation. Removed unused viewportUnits support pro…
Browse files Browse the repository at this point in the history
…perty.
  • Loading branch information
IanCaunce committed Dec 14, 2014
1 parent b467301 commit feeb790
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions js/rrssb.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
'use strict';

var support = {
calc : false,
viewportUnits : false
calc : false
};

/*
Expand Down Expand Up @@ -93,11 +92,11 @@

var buttons = jQuery('li', self);
var smallButtons = buttons.filter('.small');
var totalBtnSze = 0;
var totalTxtSze = 0;
var upCandidate = smallButtons.first();
var nextBackUp = parseFloat(upCandidate.attr('data-size')) + 55;
var smallBtnCount = smallButtons.length;
var totalBtnSze = 0;
var totalTxtSze = 0;
var upCandidate = smallButtons.first();
var nextBackUp = parseFloat(upCandidate.attr('data-size')) + 55;
var smallBtnCount = smallButtons.length;

if (smallBtnCount === buttons.length) {
var btnCalc = smallBtnCount * 42;
Expand Down Expand Up @@ -137,7 +136,7 @@
var self = jQuery(this);
var buttons = jQuery('li', self);
var elems = buttons.nextAll();
var count = elems.length;
var count = elems.length;

// get buttons in reverse order and loop through each
jQuery(buttons.get().reverse()).each(function(index, count) {
Expand Down Expand Up @@ -170,7 +169,7 @@
jQuery('.rrssb-buttons').each(function(index) {
var self = jQuery(this);
var regButtonCount;
var regPercent;
var regPercent;
var pixelsOff;
var magicWidth;
var smallBtnFraction;
Expand Down
4 changes: 2 additions & 2 deletions js/rrssb.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit feeb790

Please sign in to comment.