markuapad 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/markuapad.js +67210 -54
- data/app/assets/stylesheets/markuapad.css +787 -1
- data/build/app.css +787 -1
- data/build/app.js +67195 -54
- data/build/dist.css +787 -1
- data/build/dist.js +67210 -54
- data/build/index.css +34 -1
- data/build/index.js +2184 -1
- data/build/web.css +787 -1
- data/build/web.js +67203 -54
- data/lib/markuapad/version.rb +1 -1
- data/src/jsx/editor.jsx +1 -1
- data/src/jsx/main.jsx +1 -0
- data/src/markuapad.js +3 -1
- data/src/web.js +1 -1
- metadata +1 -1
data/lib/markuapad/version.rb
CHANGED
data/src/jsx/editor.jsx
CHANGED
|
@@ -12,7 +12,7 @@ class Editor extends React.Component {
|
|
|
12
12
|
this.onCurrentFileLoaded = this.onCurrentFileLoaded.bind(this);
|
|
13
13
|
|
|
14
14
|
// Make the editor changed function not spammy
|
|
15
|
-
this.onEditorChanged = _.debounce(this.onEditorChanged.bind(this), 100);
|
|
15
|
+
this.onEditorChanged = _.debounce(this.onEditorChanged.bind(this), props.CHANGED_INTERVAL || 100);
|
|
16
16
|
this.onCursorChanged = this.onCursorChanged.bind(this)
|
|
17
17
|
}
|
|
18
18
|
|
data/src/jsx/main.jsx
CHANGED
|
@@ -124,6 +124,7 @@ class Main extends React.Component {
|
|
|
124
124
|
onBookContentChanged={this.onBookContentChanged}
|
|
125
125
|
inLiveMode={this.state.inLiveMode}
|
|
126
126
|
currentFile={this.state.currentFile}
|
|
127
|
+
CHANGED_INTERVAL={this.props.options.CHANGED_INTERVAL}
|
|
127
128
|
/>
|
|
128
129
|
{ this.state.inLiveMode ? <LivePreview key='live-mode' ref="liveMode" html={this.state.previewHtml} previewState={this.state.previewState} previewErrors={this.state.previewErrors} /> : null }
|
|
129
130
|
</section>
|
data/src/markuapad.js
CHANGED
data/src/web.js
CHANGED