Last active
August 29, 2015 14:07
-
-
Save tonnylitao/7da4c992e76c12431d17 to your computer and use it in GitHub Desktop.
_命名冲突解决方案
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//若你在导入undersocre之前已经使用了全局变量_表示laylow,为防止冲突,需要暂存起来 | |
//今后你只能var laylow = _.noConflict()来表示laylow,而_表示undersocre | |
var previousUnderscore = root._; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment