MCPcopy
hub / github.com/requirejs/requirejs / createFlags

Function createFlags

tests/jquery/scripts/jquery-1.7.1.js:964–972  ·  view source on GitHub ↗
( flags )

Source from the content-addressed store, hash-verified

962
963// Convert String-formatted flags into Object-formatted ones and store in cache
964function createFlags( flags ) {
965 var object = flagsCache[ flags ] = {},
966 i, length;
967 flags = flags.split( /\s+/ );
968 for ( i = 0, length = flags.length; i < length; i++ ) {
969 object[ flags[i] ] = true;
970 }
971 return object;
972}
973
974/*
975 * Create a callback list using the following parameters:

Callers 1

jquery-1.7.1.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…