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

View File

@@ -27,7 +27,8 @@ describe('ol.featureloader', function() {
describe('when called with urlFunction', function() {
it('adds features to the source', function(done) {
url = function(extent, resolution, projection) {
return 'spec/ol/data/point.json';};
return 'spec/ol/data/point.json';
};
loader = ol.featureloader.xhr(url, format);
source.on(ol.source.VectorEventType.ADDFEATURE, function(e) {