Skip to content
This repository was archived by the owner on Apr 9, 2018. It is now read-only.

Commit 61c81f3

Browse files
author
Charlie Elverson
committed
probably not a great idea to pass a potentially uninitialized parameter.
1 parent f725705 commit 61c81f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/esri-loader.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class EsriLoaderService {
1212
}
1313

1414
//use to save options passed to load()
15-
private loadScriptOptions: ILoadScriptOptions;
15+
private loadScriptOptions: ILoadScriptOptions = {};
1616

1717
// lazy load the ArcGIS API for JavaScript
1818
// only need to use load() is specifying something other than the default options

0 commit comments

Comments
 (0)