Americanise spellings (#33323)
Updates documentation and non-public API to use American spellings for consistency with the rest of the codebase. No changes to behaviour... other than how it's spelt.
This commit is contained in:
@@ -494,7 +494,7 @@ class MemoryTest {
|
||||
await receivedNextMessage;
|
||||
}
|
||||
|
||||
/// To change the behaviour of the test, override this.
|
||||
/// To change the behavior of the test, override this.
|
||||
///
|
||||
/// Make sure to call recordStart() and recordEnd() once each in that order.
|
||||
///
|
||||
|
||||
@@ -52,8 +52,8 @@ are interpolated, in order to display it nicely.
|
||||
There is currently one skeleton for
|
||||
[application](config/skeletons/application.html) snippets and one for
|
||||
[sample](config/skeletons/sample.html)
|
||||
snippets, but there could be more. It uses moustache notation (e.g. `{{code}}`)
|
||||
snippets, but there could be more. It uses mustache notation (e.g. `{{code}}`)
|
||||
to mark where the components to be interpolated into the template should go.
|
||||
|
||||
(It doesn't actually use the moustache package, since the only things that need
|
||||
substituting are simple strings, but it uses the same syntax).
|
||||
(It doesn't actually use the mustache package, since the only things that need
|
||||
substituting are simple strings, but it uses the same syntax).
|
||||
|
||||
@@ -82,7 +82,7 @@ class SnippetGenerator {
|
||||
return description.join('\n').trim();
|
||||
} else {
|
||||
// If the match isn't found in the injections, then just remove the
|
||||
// moustache reference, since we want to allow the sections to be
|
||||
// mustache reference, since we want to allow the sections to be
|
||||
// "optional" in the input: users shouldn't be forced to add an empty
|
||||
// "```dart preamble" section if that section would be empty.
|
||||
return injections
|
||||
|
||||
Reference in New Issue
Block a user