forked from DockYard/ember-service-worker-index
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor service worker to try to get index.html from network first, then fall back to the cached version
- Loading branch information
Showing
8 changed files
with
63 additions
and
200 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,26 @@ | ||
# How to contribute | ||
# How To Contribute | ||
|
||
## Improve documentation | ||
|
||
We are always looking to improve our documentation. If at some moment you are | ||
reading the documentation and something is not clear, or you can't find what you | ||
are looking for, then please open an issue with the repository. This gives us a | ||
chance to answer your question and to improve the documentation if needed. | ||
|
||
Pull requests correcting spelling or grammar mistakes are always welcome. | ||
|
||
## Found a bug? | ||
|
||
Please try to answer at least the following questions when reporting a bug: | ||
|
||
- Which version of the project did you use when you noticed the bug? | ||
- How do you reproduce the error condition? | ||
- What happened that you think is a bug? | ||
- What should it do instead? | ||
|
||
It would really help the maintainers if you could provide a reduced test case | ||
that reproduces the error condition. | ||
|
||
## Have a feature request? | ||
|
||
Please provide some thoughful commentary and code samples on what this feature | ||
should do and why it should be added (your use case). The minimal questions you | ||
should answer when submitting a feature request should be: | ||
|
||
- What will it allow you to do that you can't do today? | ||
- Why do you need this feature and how will it benefit other users? | ||
- Are there any drawbacks to this feature? | ||
|
||
## Submitting a pull-request? | ||
## Installation | ||
|
||
Here are some things that will increase the chance that your pull-request will | ||
get accepted: | ||
- Did you confirm this fix/feature is something that is needed? | ||
- Did you write tests, preferably in a test driven style? | ||
- Did you add documentation for the changes you made? | ||
- Did you follow our [styleguide](https://github.com/dockyard/styleguides)? | ||
* `git clone <repository-url>` | ||
* `cd ember-service-worker-index-fallback` | ||
* `npm install` | ||
|
||
If your pull-request addresses an issue then please add the corresponding | ||
issue's number to the description of your pull-request. | ||
## Linting | ||
|
||
# How to work with this project locally | ||
* `npm run lint:hbs` | ||
* `npm run lint:js` | ||
* `npm run lint:js -- --fix` | ||
|
||
## Installation | ||
|
||
First clone this repository: | ||
## Running tests | ||
|
||
```sh | ||
git clone https://github.com/DockYard/ember-service-worker-index.git | ||
``` | ||
* `ember test` – Runs the test suite on the current Ember version | ||
* `ember test --server` – Runs the test suite in "watch mode" | ||
* `ember try:each` – Runs the test suite against multiple Ember versions | ||
|
||
<!-- Add further details on how to install the project here --> | ||
## Running the dummy application | ||
|
||
## Running tests | ||
* `ember serve` | ||
* Visit the dummy application at [http://localhost:4200](http://localhost:4200). | ||
|
||
<!-- Tell the user how to run the tests of your project --> | ||
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters