Drop global variable ui exposing

This commit is contained in:
Yukai Huang 2017-03-28 19:30:06 +08:00
parent ba1bef015f
commit b711ecfadb
2 changed files with 6 additions and 5 deletions

View file

@ -322,8 +322,6 @@ defaultTextHeight = parseInt($('.CodeMirror').css('line-height'))
// initalize ui reference
const ui = getUIElements()
// FIXME: fix global ui element expose
window.ui = ui
// page actions
var opts = {