Permalink
Browse files

lint police: models.js, remove trailing whitespace

  • Loading branch information...
1 parent 76093e0 commit d8b348a678384a9b025edaf0fbe8cf30bd850878 @trey0 trey0 committed Oct 22, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 geocamTiePoint/static/geocamTiePoint/js/backbone/models.js
View
6 geocamTiePoint/static/geocamTiePoint/js/backbone/models.js
@@ -124,7 +124,7 @@ $(function($) {
// only operate on points that have all four values.
var points = _.filter(this.get('points'), function(coords){return _.all(coords, _.identity);});
if ( points.length <2 ) return false; // a minimum of two tiepoints are required to compute the transform
- this.set('transform',
+ this.set('transform',
points ? geocamTiePoint.transform.getTransform(points).toDict() : {type: '', matrix: []}
);
},
@@ -151,7 +151,7 @@ $(function($) {
model.trigger('warp_error');
},
success: function() {
- if (options.success) options.success();
+ if (options.success) options.success();
model.trigger('warp_success');
},
}
@@ -173,7 +173,7 @@ $(function($) {
a generate export request does *not* indicate the
export is complete.
- model.trigger('export_ready');
+ model.trigger('export_ready');
if (options.success) options.success();
*/
} });

0 comments on commit d8b348a

Please sign in to comment.