From 53a204ef72e02b292b2ffbf1f34ba4a903e612a2 Mon Sep 17 00:00:00 2001 From: Zach Wise Date: Wed, 13 Jun 2012 15:48:16 -0500 Subject: [PATCH] Documentation --- source/js/Media/VMM.MediaType.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/js/Media/VMM.MediaType.js b/source/js/Media/VMM.MediaType.js index 39264c0..ca8662f 100644 --- a/source/js/Media/VMM.MediaType.js +++ b/source/js/Media/VMM.MediaType.js @@ -1,10 +1,11 @@ -/* MediaType +/* MediaType + Determines the type of media the url string is. + returns an object with .type and .id + the id is a key piece of information needed to make + the request of the api. ================================================== */ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') { - //VMM.mediaType.youtube(d); //should return a true or false - // VMM.MediaType(url); //returns an object with .type and .id - VMM.MediaType = function(d) { var success = false, media = {