Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmeasday/iron-location-single-page
https://github.com/tmeasday/iron-location-single-page
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmeasday/iron-location-single-page
- Owner: tmeasday
- Created: 2014-02-25T12:09:48.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-25T12:10:32.000Z (almost 11 years ago)
- Last Synced: 2024-10-25T18:57:57.119Z (3 months ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a proof of concept of how you might use pluggable locations to solve IR#382.
To use this testing version:
1. Create an app with the following smart.json
```
{
"packages": {
"iron-router": {
"git": "https://github.com/EventedMind/iron-router.git",
"branch": "new-location"
},
"iron-location-single-page": {
"git": "https://github.com/tmeasday/iron-location-single-page.git",
}
}
}
```2. Call `mrt add iron-router` and `mrt add iron-location-single-page`.
3. Create a router as usual.
4. Notice that as you browse around the app, the location does not change. Call `Router._location.back()` to go back.
The API of `Router._location` is still up for grabs, but right now this outlines the basic minimums. Watch this space.
(c) Tom Coleman
MIT