MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / makeMap

Function makeMap

lib/test/angular/1.6.7/angular.js:912–918  ·  view source on GitHub ↗

* @param str 'key1,key2,...' * @returns {object} in the form of {key1:true, key2:true, ...}

(str)

Source from the content-addressed store, hash-verified

910 * @returns {object} in the form of {key1:true, key2:true, ...}
911 */
912function makeMap(str) {
913 var obj = {}, items = str.split(','), i;
914 for (i = 0; i < items.length; i++) {
915 obj[items[i]] = true;
916 }
917 return obj;
918}
919
920
921function nodeName_(element) {

Callers 1

$CompileProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected