cocos2d/cocos2d-js — pull request #1228 by joshuastray (2014-12-23 06:57:01+00:00)
Title: fix wrong usage of map

if the path is not in the map, this function will insert 2 pairs into the map.