MCPcopy Create free account
hub / github.com/ceph/ceph / createOptions

Function createOptions

qa/workunits/erasure-code/jquery.js:911–917  ·  view source on GitHub ↗
( options )

Source from the content-addressed store, hash-verified

909
910// Convert String-formatted options into Object-formatted ones and store in cache
911function createOptions( options ) {
912 var object = optionsCache[ options ] = {};
913 jQuery.each( options.split( core_rspace ), function( _, flag ) {
914 object[ flag ] = true;
915 });
916 return object;
917}
918
919/*
920 * Create a callback list using the following parameters:

Callers 1

jquery.jsFile · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected