Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Playlists will now be updated in App.onResume #37

Merged
merged 4 commits into from
Apr 18, 2016

Conversation

RikHeijdens
Copy link
Contributor

No description provided.

// We're assuming that the ListCollection is always on the bottom of the document stack.
// This may not be the smartest thing to do, ideally we would want to have some "tag" attached
// to documents that we can use to safely determine whether we are replacing the correct document.
var oldListCollectionDoc = navigationDocument.documents[0];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can check the document's data-view attribute to see if it's the ListCollection, e.g:

navigationDocument.documents[0].firstChild.getAttribute("data-view") // "ListCollection"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I forgot about that.

Rik Heijdens added 3 commits April 12, 2016 21:54
* Removed unused templateLoader variable.
* Removed domParser from the global scope.
The Cache-Control header should take care of the TTL
@pablos1 pablos1 merged commit 7a96362 into develop Apr 18, 2016
@RikHeijdens RikHeijdens deleted the feature/atv-15-update-playlists branch June 30, 2016 19:12
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.

None yet

2 participants