Add max level option

This commit is contained in:
qingwei.li 2016-11-27 13:09:18 +08:00
commit eba21726d7
11 changed files with 201 additions and 17 deletions

View file

@ -4,7 +4,8 @@ import bindEvent from './bind-event'
const DEFAULT_OPTS = {
el: '#app',
repo: ''
repo: '',
'max-level': 6
}
const script = document.currentScript || [].slice.call(document.getElementsByTagName('script')).pop()