diff --git a/API.md b/API.md index 09c01a957..344410e39 100644 --- a/API.md +++ b/API.md @@ -110,7 +110,7 @@ A **line** is a way that is not an area. Elements representing lines have a `.li class. Since a line is also a way, they also have a `.way` class. An **area** is a way that is circular, has certain tags, or lacks certain other -tags (see `iD.Way#isArea` for the exact definition). Elements representing areas +tags (see `iD.osmWay#isArea` for the exact definition). Elements representing areas have `.area` and `.way` classes. @@ -302,7 +302,7 @@ The minimum zoom at which iD enters the edit mode is configured using the `conte ```js -var id = iD.Context() +var id = iD.coreContext() .minEditableZoom(zoom_level) ``` diff --git a/data/presets/README.md b/data/presets/README.md index 0a07f602f..e484a9478 100644 --- a/data/presets/README.md +++ b/data/presets/README.md @@ -89,7 +89,7 @@ preset are used. For example, `shop/convenience` automatically uses the same fields as `shop`. In both explicit and implicit inheritance, fields for keys that define the -preset are not inherited. E.g. the `shop` field is not inherited by `shop/…` presets. +preset are not inherited. E.g. the `shop` field is not inherited by `shop/…` presets. ##### `searchable` @@ -320,7 +320,7 @@ iD supports deployments which use a custom set of presets. You can supply preset the `presets` accessor: ```js -var id = iD.Context().presets({ +var id = iD.coreContext().presets({ presets: { ... }, fields: { ... }, defaults: { ... }, diff --git a/index.html b/index.html index 7d228f1db..20674de66 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@