MCPcopy Create free account
hub / github.com/F-Stack/f-stack / createFlags

Function createFlags

tools/libxo/xohtml/external/jquery.js:982–990  ·  view source on GitHub ↗
( flags )

Source from the content-addressed store, hash-verified

980
981// Convert String-formatted flags into Object-formatted ones and store in cache
982function createFlags( flags ) {
983 var object = flagsCache[ flags ] = {},
984 i, length;
985 flags = flags.split( /\s+/ );
986 for ( i = 0, length = flags.length; i < length; i++ ) {
987 object[ flags[i] ] = true;
988 }
989 return object;
990}
991
992/*
993 * Create a callback list using the following parameters:

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected