Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Concatenate items added via multiple calls to precache() #19

Merged
merged 1 commit into from
Jan 15, 2015
Merged

Concatenate items added via multiple calls to precache() #19

merged 1 commit into from
Jan 15, 2015

Conversation

jeffposnick
Copy link
Contributor

I've come across situations in which I want to call shed.precache() multiple times from different scripts, and currently that will cause the precache list to be overwritten each time. Instead, the change in this PR will concatenate to the existing list each time it's called.

(I am not sure where all those changes to dist/shed.js came from—perhaps I built it with a more recent version of some of the npm dependencies? Do those look okay to you, @wibblymat?)

@wibblymat
Copy link
Owner

👍 Yeah, looks like the other changes are due to an update in the cache polyfill.

wibblymat added a commit that referenced this pull request Jan 15, 2015
Concatenate items added via multiple calls to precache()
@wibblymat wibblymat merged commit 5939423 into wibblymat:master Jan 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants