Skip to content

Commit 6326f47

Browse files
doc(app-configuration-and-startup): fix some grammar
1 parent 26175cf commit 6326f47

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

doc/article/en-US/app-configuration-and-startup.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -443,13 +443,11 @@ Optionally, you can provide an object instance to use as the data-binding contex
443443
</source-code>
444444
</code-listing>
445445

446-
But what if you need to enhance multiple elements on the page that do not have direct parent children relations. For example - you have an existing application written on some non Aurelia framework and you want to refactor it component by component.
446+
But what if you need to enhance multiple elements on a page that do not have a direct parent/child relationship? For example, suppose you have an existing application written on a non-Aurelia framework that you need to refactor component by component.
447447

448-
You can't use `aurelia.enhance` method multiple times because it was not designed for that and will give you problems. Instead you can use templating engine enhance method directly.
448+
You can't use the `aurelia.enhance` method multiple times because it was not designed for that. Instead you can use the templating engine's `enhance` method directly.
449449

450-
Example:
451-
452-
<code-listing heading="Multiple enhance statements HTML">
450+
<code-listing heading="Multiple Enhance HTML">
453451
<source-code lang="HTML">
454452
<!doctype html>
455453
<html>
@@ -465,7 +463,7 @@ Example:
465463
</source-code>
466464
</code-listing>
467465

468-
<code-listing heading="Multiple enhance statements JS">
466+
<code-listing heading="Multiple Enhance Code">
469467
<source-code lang="ES 2015/2016">
470468
import {TemplatingEngine} from 'aurelia-framework';
471469

0 commit comments

Comments
 (0)