diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 587bd3e03..000000000 --- a/.travis.yml +++ /dev/null @@ -1 +0,0 @@ -language: node_js diff --git a/app/app.json b/app/app.json index 9bf7eb0d2..fb4089f78 100644 --- a/app/app.json +++ b/app/app.json @@ -1,7 +1,7 @@ { "private": true, "name": "insomnia", - "version": "3.0.12", + "version": "3.0.13", "productName": "Insomnia", "longName": "Insomnia HTTP Client", "description": "The best REST API Client", diff --git a/app/components/base/Editor.js b/app/components/base/Editor.js index 24782d4ee..5d1cbcd8d 100644 --- a/app/components/base/Editor.js +++ b/app/components/base/Editor.js @@ -143,6 +143,13 @@ class Editor extends Component { * @param doc CodeMirror document */ _codemirrorValueChanged (doc) { + + // Don't trigger change event if we're ignoring changes + if (this._ignoreNextChange || !this.props.onChange) { + this._ignoreNextChange = false; + return; + } + // Debounce URL changes so we don't update the app so much clearTimeout(this._timeout); this._timeout = setTimeout(() => { @@ -150,12 +157,6 @@ class Editor extends Component { var newValue = doc.getValue(); this._currentCodemirrorValue = newValue; - // Don't trigger change event if we're ignoring changes - if (this._ignoreNextChange || !this.props.onChange) { - this._ignoreNextChange = false; - return; - } - this.props.onChange(newValue); }, DEBOUNCE_MILLIS) } diff --git a/app/lib/network.js b/app/lib/network.js index 96f1d1773..7c0d688b7 100644 --- a/app/lib/network.js +++ b/app/lib/network.js @@ -17,7 +17,7 @@ function buildRequestConfig (request, patch = {}) { // Setup redirect rules followAllRedirects: true, maxRedirects: 20, - timeout: -1, + timeout: 0, // Unzip gzipped responses gzip: true, diff --git a/book.json b/book.json deleted file mode 100644 index 18931d562..000000000 --- a/book.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "gitbook": "3.x.x", - "title": "Insomnia Rest Client", - "root": "docs", - "structure": { - "summary": "README.md" - }, - "plugins": ["prism", "-highlight", "github", "anker-enable"], - "pluginsConfig": { - "github": { - "url": "https://github.com/gschier/insomnia/" - } - } -} diff --git a/docs/README.md b/docs/README.md deleted file mode 100644 index 54e975b15..000000000 --- a/docs/README.md +++ /dev/null @@ -1,4 +0,0 @@ -Summary -======= - -- [Installation](/installation.md) diff --git a/docs/installation.md b/docs/installation.md deleted file mode 100644 index bf739524d..000000000 --- a/docs/installation.md +++ /dev/null @@ -1,3 +0,0 @@ -# Installation - -This is how you install Insomnia. \ No newline at end of file