Skip to content

Commit

Permalink
Consistent indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed May 10, 2017
1 parent 74b6697 commit f718673
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
26 changes: 10 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ Cognito service.
Example usage:

```html
<aws-app
region="us-east-1">
<aws-app region="us-east-1"></aws-app>
<aws-cognito id="cognito"
user-pool-id="us-east-1_XXXXXXXXX"
client-id="3XXXXXfea3nXXX0k3XXXXXX9p5"
Expand All @@ -38,13 +37,11 @@ Example usage:
Example usage:

```html
<aws-app
region="eu-west-1">
</aws-app>
<aws-app region="eu-west-1"></aws-app>
<aws-dynamodb
table-name="notes"
data="{{data}}">
</aws-dynamodb>
table-name="notes"
data="{{data}}"
></aws-dynamodb>
```

This fetches the `data` object from the `notes` table in the DynamoDB database
Expand All @@ -58,12 +55,9 @@ likewise sent back and stored.
Example usage:

```html
<aws-app
region="eu-west-1">
</aws-app>
<aws-lambda
id="transformNotes"
function-name="transformNotes"
on-response="handleResponse">
</aws-lambda>
<aws-app region="eu-west-1"></aws-app>
<aws-lambda id="transformNotes"
function-name="transformNotes"
on-response="handleResponse"
></aws-lambda>
```
2 changes: 1 addition & 1 deletion aws-cognito.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
},

/**
* Tries to recover a user session from localStorage. If user is recovered
* Tries to recover a user session from localStorage. If user is recovered
* successfully, will optionally initiate automatic credential refreshing.
*
* @return {Promise.<Error>} A promise that rejects with
Expand Down

0 comments on commit f718673

Please sign in to comment.