demo/bundle.js
/**
             * Make a map and return a function for checking if a key
             * is in that map.
             */
Make a map and return a function for checking if a key
is in that map.
Make a map and return a function for checking if a key is in that map .
function makeMap (
              str,
              expectsLowerCase
            ) {
              var map = Object.create(null);
              var list = str.split(',');
              for (var i = 0; i < list.length; i++) {
                map[list[i]] = true;
              }
              return expectsLowerCase
                ? function (val) { return map[val.toLowerCase()]; }
                : function (val) { return map[val]; }
            }
function makeMap ( str , expectsLowerCase ) { var map = Object . create ( null ) ; var list = str . split ( ',' ) ; for ( var i = 0 ; i < list . length ; i ++ ) { map [ list [ i ] ] = true ; } return expectsLowerCase ? function ( val ) { return map [ val . toLowerCase ( ) ] ; } : function ( val ) { return map [ val ] ; } }
Make a map and return a function for checking if a key
 is in that map.
Make a map and return a function for checking if a key is in that map .