code: function (obj) {
  			var keys = HashMap.key(obj),
  			entry = new Entry(keys, obj, this),
  			i = 0,
  			j,
  			hash;
  
  			//insert into all x buckets
  			for (i = keys.x1; i <= keys.x2; i++) {
  				//insert into all y buckets
  				for (j = keys.y1; j <= keys.y2; j++) {
  					hash = (i << 16)^j;
  					if (!this.map[hash]) this.map[hash] = [];
  					this.map[hash].push(obj);
  				}
  			}
  
  			return entry;
  		}
docs: @
  #Crafty.map.insert
  @comp Crafty.map
  @sign public Object Crafty.map.insert(Object obj)
  @param obj - An entity to be inserted.
  
  `obj` is inserted in '.map' of the corresponding broad phase cells. An object of the following fields is returned.
  ~~~
  - the object that keep track of cells (keys)
  - `obj`
  - the HashMap object
  ~~~