MCPcopy
hub / github.com/hokein/electron-sample-apps / createFlags

Function createFlags

desktop-capture/jquery.js:990–998  ·  view source on GitHub ↗
( flags )

Source from the content-addressed store, hash-verified

988
989// Convert String-formatted flags into Object-formatted ones and store in cache
990function createFlags( flags ) {
991 var object = flagsCache[ flags ] = {},
992 i, length;
993 flags = flags.split( /\s+/ );
994 for ( i = 0, length = flags.length; i < length; i++ ) {
995 object[ flags[i] ] = true;
996 }
997 return object;
998}
999
1000/*
1001 * Create a callback list using the following parameters:

Callers 1

jquery.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected