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

Function makeMap

lib/test/angular/1.4.3/angular.js:781–787  ·  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

779 * @returns {object} in the form of {key1:true, key2:true, ...}
780 */
781function makeMap(str) {
782 var obj = {}, items = str.split(","), i;
783 for (i = 0; i < items.length; i++) {
784 obj[items[i]] = true;
785 }
786 return obj;
787}
788
789
790function nodeName_(element) {

Callers 1

$CompileProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected