From dc0a8f2f30ee4488aba983fd45cd8b06a0c0bcb2 Mon Sep 17 00:00:00 2001 From: "Keith D. Moore" Date: Sat, 21 May 2016 17:05:53 -0500 Subject: [PATCH 1/7] Correct sentence related to the ngModel sets the value --- src/components/datetime/datetime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/datetime/datetime.ts b/src/components/datetime/datetime.ts index be2459668c..2bf0dcad81 100644 --- a/src/components/datetime/datetime.ts +++ b/src/components/datetime/datetime.ts @@ -145,7 +145,7 @@ const DATETIME_VALUE_ACCESSOR = new Provider( * and `23` means `11pm`. * * It's also important to note that neither the `displayFormat` or `pickerFormat` can - * set the datetime value's output, which is the value that sent the the component's + * set the datetime value's output, which is the value that is set by the component's * `ngModel`. The format's are merely for displaying the value as text and the picker's * interface, but the datetime's value is always persisted as a valid ISO 8601 datetime * string. From 3aead07d0df3fcf8c38f23c33c812b2a5b89a0d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateo=20Tibaquir=C3=A1?= Date: Tue, 24 May 2016 17:01:55 -0500 Subject: [PATCH 2/7] docs(label): minor link fix --- src/components/label/label.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/label/label.ts b/src/components/label/label.ts index 98e61b0862..a6458580f7 100644 --- a/src/components/label/label.ts +++ b/src/components/label/label.ts @@ -47,7 +47,7 @@ import {Directive, ElementRef, Renderer, Input, Optional, Attribute} from '@angu * * @demo /docs/v2/demos/label/ * @see {@link ../../../../components#inputs Input Component Docs} - * @see {@link ../Input Input API Docs} + * @see {@link ../../input/Input Input API Docs} * */ From 57f39e17a4443efcd28d49f9779075b11698e722 Mon Sep 17 00:00:00 2001 From: remithomas Date: Wed, 25 May 2016 10:38:29 -0400 Subject: [PATCH 3/7] Update docs Sqlstorage Update doc for clear function. --- src/platform/storage/sql.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/platform/storage/sql.ts b/src/platform/storage/sql.ts index f0d28de01c..b54a29e96c 100644 --- a/src/platform/storage/sql.ts +++ b/src/platform/storage/sql.ts @@ -144,6 +144,11 @@ export class SqlStorage extends StorageEngine { return this.query('delete from kv where key = ?', [key]); } + /** + * Remove the value in the database for the given key. + * @param {string} key the key + * @return {Promise} that resolves or rejects with an object of the form { tx: Transaction, res: Result (or err)} + */ clear(): Promise { return this.query('delete from kv'); } From 0ba5df1865da298ffa31be9c5901a5eeba6b54fc Mon Sep 17 00:00:00 2001 From: remithomas Date: Wed, 25 May 2016 10:41:05 -0400 Subject: [PATCH 4/7] Update docs Sqlstorage (clear function) --- src/platform/storage/sql.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/platform/storage/sql.ts b/src/platform/storage/sql.ts index b54a29e96c..8ea1bdc4a2 100644 --- a/src/platform/storage/sql.ts +++ b/src/platform/storage/sql.ts @@ -145,8 +145,7 @@ export class SqlStorage extends StorageEngine { } /** - * Remove the value in the database for the given key. - * @param {string} key the key + * Clear all keys/values of your database. * @return {Promise} that resolves or rejects with an object of the form { tx: Transaction, res: Result (or err)} */ clear(): Promise { From 7ec721e19f96f406fec23607d3bedf01f8c562a8 Mon Sep 17 00:00:00 2001 From: Justin Willis Date: Thu, 26 May 2016 10:20:35 -0500 Subject: [PATCH 5/7] docs(actionsheet): document the icon property --- src/components/action-sheet/action-sheet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/action-sheet/action-sheet.ts b/src/components/action-sheet/action-sheet.ts index 6fce49f0cd..8f8e02060f 100644 --- a/src/components/action-sheet/action-sheet.ts +++ b/src/components/action-sheet/action-sheet.ts @@ -22,7 +22,7 @@ import {ViewController} from '../nav/view-controller'; * An action sheet is created from an array of `buttons`, with each button * including properties for its `text`, and optionally a `handler` and `role`. * If a handler returns `false` then the action sheet will not be dismissed. An - * action sheet can also optionally have a `title` and a `subTitle`. + * action sheet can also optionally have a `title`, `subTitle` and an `icon`. * * A button's `role` property can either be `destructive` or `cancel`. Buttons * without a role property will have the default look for the platform. Buttons From e16932f29a6004d76859f184a477add1bd028499 Mon Sep 17 00:00:00 2001 From: perry Date: Thu, 26 May 2016 11:06:45 -0500 Subject: [PATCH 6/7] chore(dgeni): add advanced section to docs. --- scripts/docs/templates/common.template.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index 8cca8562a4..2de20a476e 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -333,6 +333,14 @@ Improve this doc <@- endif -@> +<@ block advanced @> +<@- if doc.advanced -@> +

Advanced

+<$ doc.advanced | marked $> +<@- endif -@> +<@ endblock @> + + <@- if doc.see @> From 5aff98575015208b96f749c13d309713423f9bea Mon Sep 17 00:00:00 2001 From: Justin Willis Date: Thu, 26 May 2016 11:54:30 -0500 Subject: [PATCH 7/7] docs(actionsheet): link direct to correct section --- src/components/action-sheet/action-sheet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/action-sheet/action-sheet.ts b/src/components/action-sheet/action-sheet.ts index 8f8e02060f..727e4732e5 100644 --- a/src/components/action-sheet/action-sheet.ts +++ b/src/components/action-sheet/action-sheet.ts @@ -82,7 +82,7 @@ import {ViewController} from '../nav/view-controller'; * transitions were fired at roughly the same time, it's difficult for the * nav controller to cleanly animate multiple transitions that may * have been kicked off asynchronously. This is further described in the - * [`Nav Transition Promises`](../../nav/NavController) section. For action sheets, + * [`Nav Transition Promises`](../../nav/NavController/#nav-transition-promises) section. For action sheets, * this means it's best to wait for the action sheet to finish its transition * out before starting a new transition on the same nav controller. *