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

Function makeMap

lib/test/angular/1.7.0/angular.js:880–886  ·  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

878 * @returns {object} in the form of {key1:true, key2:true, ...}
879 */
880function makeMap(str) {
881 var obj = {}, items = str.split(','), i;
882 for (i = 0; i < items.length; i++) {
883 obj[items[i]] = true;
884 }
885 return obj;
886}
887
888
889function nodeName_(element) {

Callers 1

$CompileProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected