[browserify] expose the filename so as to avoid specifying relative path in require()
[browserify] expose the filename so as to avoid specifying relative path in require()

fireball-x/deprecated-editor-core,cocos-creator/deprecated-editor-core