Created
January 28, 2016 00:19
-
-
Save ryanmr/c0d09219a5177832545b to your computer and use it in GitHub Desktop.
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
// size, length, type, mime, url, id | |
var media_allowed = ['size', 'length', 'type', 'mime', 'url', 'id']; | |
data.media = episode.media.map((o) => { | |
var m = {id: o.id, length: o.length, type: o.type, mime: o.mime, url: o.url}; | |
return m; | |
}); | |
// what was I thinking when I wrote this three months ago? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment