Permalink
Browse files

JSX support

  • Loading branch information...
1 parent b206d99 commit 1d853d09df4bfb47d413026e317aacfdfafd7946 @sergeche sergeche committed Apr 1, 2015
Showing with 6 additions and 4 deletions.
  1. +3 −1 editor.js
  2. +1 −1 main.js
  3. +2 −2 package.json
View
@@ -52,7 +52,9 @@ define(function(require, exports, module) {
'text/css': 'css',
'text/x-less': 'less',
'text/x-scss': 'scss',
- 'text/x-sass': 'sass'
+ 'text/x-sass': 'sass',
+ 'javascript': 'jsx',
+ 'text/javascript': 'jsx'
},
setup: function(editor, singleSelectionMode) {
View
@@ -242,7 +242,7 @@ define(function(require, exports, module) {
var cmdEnable = CommandManager.register('Enable Emmet', 'io.emmet.enabled', function() {
this.setChecked(!this.getChecked());
});
- $(cmdEnable).on('checkedStateChange', function() {
+ cmdEnable.on('checkedStateChange', function() {
isEnabled = cmdEnable.getChecked();
});
menu.addMenuItem(cmdEnable);
View
@@ -1,7 +1,7 @@
{
"name": "brackets-emmet",
"title": "Emmet",
- "version": "1.2.0",
+ "version": "1.2.1",
"description": "High-speed HTML and CSS workflow",
"homepage": "http://emmet.io",
"author": "Sergey Chikuyonok <serge.che@gmail.com> (https://github.com/sergeche)",
@@ -17,6 +17,6 @@
"brackets": ">=0.44.0"
},
"dependencies": {
- "emmet": "^1.2.1"
+ "emmet": "^1.3.0"
}
}

0 comments on commit 1d853d0

Please sign in to comment.