Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
spring-raining committed May 13, 2016
2 parents 0ca49ee + e746f16 commit 67a4633
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "giraf",
"version": "2.0.2",
"version": "2.0.3",
"description": "Powerful & Free GIF Creator",
"main": "main.js",
"scripts": {
Expand Down Expand Up @@ -32,7 +32,7 @@
"babel-preset-react": "^6.5.0",
"babelify": "^7.2.0",
"bourbon": "^4.2.5",
"brace": "^0.7.0",
"brace": "^0.8.0",
"brfs": "^1.4.3",
"browserify": "^11.2.0",
"decimal.js": "^4.0.3",
Expand All @@ -49,7 +49,7 @@
"lodash": "^3.10.1",
"mousetrap": "^1.5.3",
"react": "^0.14.3",
"react-ace": "^3.1.0",
"react-ace": "^3.4.1",
"react-addons-css-transition-group": "^0.14.3",
"react-dom": "^0.14.3",
"react-inlinesvg": "~0.4.2",
Expand Down
1 change: 1 addition & 0 deletions src/utils/saveFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default (blob, filename) => {
a.download = filename;
a.href = url;
evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
a.dispatchEvent(evt);

window.URL.revokeObjectURL(url);
};
3 changes: 3 additions & 0 deletions src/views/forms.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import genUUID from "src/utils/genUUID";
import "brace/mode/javascript";
import "brace/theme/github";
import "brace/theme/monokai";
import "brace/ext/language_tools";


const userAgent = new UAParser();
Expand Down Expand Up @@ -503,6 +504,8 @@ export const ScriptArea = React.createClass({
width={this.props.width}
height={this.props.height}
value={this.state.tmpValue}
enableBasicAutocompletion={true}
enableLiveAutocompletion={false}
onBlur={this._onBlur}
onChange={this._onChange}
name={this.state.editorID} />
Expand Down

0 comments on commit 67a4633

Please sign in to comment.