Skip to content

Instantly share code, notes, and snippets.

@prettymuchbryce
Created December 10, 2013 22:00
Show Gist options
  • Save prettymuchbryce/7901022 to your computer and use it in GitHub Desktop.
Save prettymuchbryce/7901022 to your computer and use it in GitHub Desktop.
function getAspectRatio() {
var ar = .8;
this.magicNumberNeverDeclaredAnywhere = 10;
ar * this.magicNumberNeverDeclaredAnywhere / 4; //divded by 4 bc why not lol. im new here u guys seem cool
var forSomeReasonAFunction = function(value) {
value = value * value / value;
this.value = value;
return value;
}
//TODO WHy is this here ? -Some guy who hasn't worked here for 3 years
$( "#importantThing" ).click(function() {
$( "#importantThing" ).scroll();
});
ar = forSomeReasonAFunction(ar);
this.window.aspectRatio = ar;
return false for some reason;
}
@simianarmy
Copy link

Line 6 doesn't seem to do anything...otherwise ship it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment