Skip to content

Instantly share code, notes, and snippets.

@tonnylitao
Last active August 29, 2015 14:07
Show Gist options
  • Save tonnylitao/7da4c992e76c12431d17 to your computer and use it in GitHub Desktop.
Save tonnylitao/7da4c992e76c12431d17 to your computer and use it in GitHub Desktop.
_命名冲突解决方案
//若你在导入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