MCPcopy
hub / github.com/nbubna/store / createOptions

Function createOptions

libs/jquery/jquery.js:954–960  ·  view source on GitHub ↗
( options )

Source from the content-addressed store, hash-verified

952
953// Convert String-formatted options into Object-formatted ones and store in cache
954function createOptions( options ) {
955 var object = optionsCache[ options ] = {};
956 jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) {
957 object[ flag ] = true;
958 });
959 return object;
960}
961
962/*
963 * Create a callback list using the following parameters:

Callers 1

jquery.jsFile · 0.85

Calls 1

eachMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…