Skip to content

Commit

Permalink
Merge pull request #13 from dollarshaveclub/move-to-index
Browse files Browse the repository at this point in the history
move to index.js for easier importing
  • Loading branch information
bennycwong authored Aug 4, 2016
2 parents 6ed2dfc + 0c5bfb5 commit 2651e82
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ or
Add this in the dependencies block of your `package.json` file:

```json
"ember-router-scroll": "dollarshaveclub/ember-router-scroll#v0.0.1",
"ember-router-scroll": "dollarshaveclub/ember-router-scroll#v0.0.3",
```

### Step 2: Import ember-router-scroll
Expand All @@ -85,7 +85,7 @@ const Router = Ember.Router.extend(RouterScrollMixin,{}
![before-preserve](https://cloud.githubusercontent.com/assets/4430436/17122971/0a1e34ce-5295-11e6-8d30-9f687dd69dbb.gif)
Notice the unwanted scroll to top in this case.
### After:
### After:
![after-preserve](https://cloud.githubusercontent.com/assets/4430436/17122969/07acbb48-5295-11e6-9900-f9ba519affa4.gif)
Adding a query parameter fixes this issue.
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-router-scroll",
"version": "0.0.2",
"version": "0.0.3",
"description": "Scroll to top with preserved browser history scroll position",
"directories": {
"doc": "doc",
Expand All @@ -19,7 +19,7 @@
]
}
},
"repository": "",
"repository": "dollarshaveclub/ember-router-scroll",
"engines": {
"node": ">= 0.10.0"
},
Expand Down

0 comments on commit 2651e82

Please sign in to comment.