MCPcopy Create free account
hub / github.com/JsAaron/jQuery / createFlags

Function createFlags

1.7/callbacks.js:7–15  ·  view source on GitHub ↗
( flags )

Source from the content-addressed store, hash-verified

5
6// Convert String-formatted flags into Object-formatted ones and store in cache
7function createFlags( flags ) {
8 var object = flagsCache[ flags ] = {},
9 i, length;
10 flags = flags.split( /\s+/ );
11 for ( i = 0, length = flags.length; i < length; i++ ) {
12 object[ flags[i] ] = true;
13 }
14 return object;
15}
16
17/*
18 * Create a callback list using the following parameters:

Callers 1

callbacks.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected