Statement inside curly braces on its own line

This commit is contained in:
Tim Schaub
2016-01-02 19:08:23 -07:00
parent 8ab5a338b5
commit 9ae748408a
4 changed files with 17 additions and 6 deletions
+3 -1
View File
@@ -49,7 +49,9 @@ describe('ol.style.Style', function() {
var geom = new ol.geom.Point([1, 2]);
style.setGeometry(geom);
expect(style.getGeometry()).to.eql(geom);
var fn = function() { return geom; };
var fn = function() {
return geom;
};
style.setGeometry(fn);
expect(style.getGeometry()).to.eql(fn);
style.setGeometry(null);