1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

add login/signup action

This commit is contained in:
Rokt33r
2015-07-12 18:13:28 +09:00
parent e0d52d3578
commit 7870c60ab4
18 changed files with 222 additions and 49 deletions

View File

@@ -9,8 +9,8 @@ var CodeViewer = React.createClass({
componentDidMount: function () {
var el = React.findDOMNode(this.refs.target)
var editor = ace.edit(el)
editor.setValue(this.props.code)
editor.$blockScrolling = Infinity
editor.setValue(this.props.code)
editor.renderer.setShowGutter(false)
editor.setReadOnly(true)
editor.setTheme('ace/theme/xcode')