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

Function init_caps

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

Source from the content-addressed store, hash-verified

516
517// make an array of capitalized, normalized strings to make searching faster and easier.
518function init_caps()
519{
520 var i=0;
521 var s="";
522 for (i=0;i<a_songs.length;i++)
523 {
524 s=convert_string(a_songs[i]);
525 s=trim_str(s);
526 a_caps.push(s);
527 }
528}
529
530init_caps();
531

Callers 1

recipe-578517.jsFile · 0.85

Calls 3

convert_stringFunction · 0.85
trim_strFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected