MCPcopy Create free account
hub / github.com/ActiveState/code / load_playlist

Function load_playlist

recipes/JavaScript/578517_Music_player/recipe-578517.js:412–424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

410}
411
412function load_playlist()
413{
414 var s=GetCookie("playlist");
415 var a=s.split(";");
416 var i=0;
417 var n=0;
418 for (i=0;i<a.length;i++)
419 {
420 n=a[i];
421 if (n.length>0) a_playlist.push(n);
422 }
423 redraw_playlist();
424}
425
426function save_playlist()
427{

Callers 1

do_all_initFunction · 0.85

Calls 4

GetCookieFunction · 0.85
redraw_playlistFunction · 0.85
splitMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected