diff --git a/API.md b/API.md index 672aaaed0..8c686d5ec 100644 --- a/API.md +++ b/API.md @@ -147,7 +147,7 @@ iD can use external presets exclusively or along with the default OpenStreetMap ```js -var id = iD.Context(window) +var id = iD.Context() .presets(customPresets) .imagery(iD.dataImagery); @@ -161,7 +161,7 @@ Just like Presets, Imagery can be configured using the `context.imagery` accesso ```js -var id = iD.Context(window) +var id = iD.Context() .presets(customPresets) .imagery(customImagery); @@ -176,7 +176,7 @@ The minimum zoom at which iD enters the edit mode is configured using the `conte ```js -var id = iD.Context(window). +var id = iD.Context() .minEditableZoom(zoom_level) ``` diff --git a/data/presets/README.md b/data/presets/README.md index 6c354019b..ac5d0986f 100644 --- a/data/presets/README.md +++ b/data/presets/README.md @@ -236,7 +236,7 @@ iD supports deployments which use a custom set of presets. You can supply preset the `presets` accessor: ```js -var id = iD.Context(window).presets({ +var id = iD.Context().presets({ presets: { ... }, fields: { ... }, defaults: { ... }, diff --git a/index.html b/index.html index e8638d677..930cd9e1c 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,7 @@