Skip to content
Browse files

Fix indentation.

  • Loading branch information...
1 parent e77af74 commit df5414202ba99ad140ac5f60afb029e9369c6d6c @borgar committed Aug 25, 2012
Showing with 15 additions and 15 deletions.
  1. +15 −15 js/app.js
View
30 js/app.js
@@ -331,22 +331,22 @@ jQuery(function ($) {
display_driver.init.call( loan );
}
if ( !loan.active ) { return []; }
- var series = loan.payments
- .map( display_driver.calculate, loan )
- .filter(function ( d ) {
- if ( isFinite(d.x) && isFinite(d.y) ) {
- if ( d.stack && d.stack.length > stacks ) {
- stacks = d.stack.length;
- }
- if ( y_min > d.y ) { y_min = d.y; }
- if ( y_max < d.y ) { y_max = d.y; }
- if ( x_min > d.x ) { x_min = d.x; }
- if ( x_max < d.x ) { x_max = d.x; }
- return true;
+ var series = loan.payments
+ .map( display_driver.calculate, loan )
+ .filter(function ( d ) {
+ if ( isFinite(d.x) && isFinite(d.y) ) {
+ if ( d.stack && d.stack.length > stacks ) {
+ stacks = d.stack.length;
}
- return false;
- })
- ;
+ if ( y_min > d.y ) { y_min = d.y; }
+ if ( y_max < d.y ) { y_max = d.y; }
+ if ( x_min > d.x ) { x_min = d.x; }
+ if ( x_max < d.x ) { x_max = d.x; }
+ return true;
+ }
+ return false;
+ })
+ ;
return series;
})
;

0 comments on commit df54142

Please sign in to comment.
Something went wrong with that request. Please try again.