remove comments

pull/1/head
yann300 7 years ago
parent 3e3e35ea2a
commit 927fe32f07
  1. 8
      src/app/editor/editor.js

@ -20,17 +20,9 @@ function setTheme (cb) {
} }
setTheme((path, theme) => { setTheme((path, theme) => {
// require(path + theme)
require('brace/theme/tomorrow_night_blue') require('brace/theme/tomorrow_night_blue')
}) })
// editor.setTheme(styleguide.aceTheme) ==> where styleguide.aceTheme is 'ace/theme/tomorrow_night_blue'
// var themeIs = 'brace/theme/' + styles.appProperties.aceTheme
// var themeIs = 'brace/theme/' + 'tomorrow_night_blue'
// console.log(themeIs)
// require(`${themeIs}`)
// require('brace/theme/tomorrow_night_blue')
var css = csjs` var css = csjs`
.ace-editor { .ace-editor {
background-color : ${styles.editor.backgroundColor_Editor}; background-color : ${styles.editor.backgroundColor_Editor};

Loading…
Cancel
Save