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

docs(formatter): edit and update formatter docs #1036

Closed
wants to merge 4 commits into from

Conversation

naomiblack
Copy link
Contributor

No description provided.

@@ -1,8 +1,9 @@
part of angular.formatter_internal;

/**
* Allows you to convert a JavaScript object into JSON string. This formatter is
* mostly useful for debugging.
* Converts a JavaScript object into a JSON string.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JS is wrong here -> "an object" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Updated.

* indicates a list of fallback expressions to use when a comparision results in the items
* being equal.
*
* If the expression is explicitly empty(`orderBy:```), the elements are sorted in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inner quotes should be ''

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, fixed.

@naomiblack naomiblack mentioned this pull request May 14, 2014
@@ -3,7 +3,32 @@ part of angular.formatter_internal;
typedef dynamic _Mapper(dynamic e);

/**
* Orders the provided [Iterable] by the `expression` predicate.
* Orders the the elements of an object by a predicate expression.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

object -> iterable (only iterables can be sorted)

naomiblack added a commit that referenced this pull request May 16, 2014
jbdeboer pushed a commit to jbdeboer/angular.dart that referenced this pull request May 21, 2014
dsalsbury pushed a commit to dsalsbury/angular.dart that referenced this pull request Jul 16, 2014
dsalsbury pushed a commit to dsalsbury/angular.dart that referenced this pull request Jul 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants