Permalink
Browse files

Using WorkspaceManager instead of PanelManager

1 parent 84e3de5 commit 8a069eadc72134aa97c421aa0c70cd364c2f1030 @rarous rarous committed Nov 9, 2014
Showing with 11 additions and 11 deletions.
  1. +3 −3 package.json
  2. +8 −8 prompt.js
View
@@ -1,7 +1,7 @@
{
"name": "brackets-emmet",
"title": "Emmet",
- "version": "1.1.3",
+ "version": "1.1.4",
"description": "High-speed HTML and CSS workflow",
"homepage": "http://emmet.io",
"author": "Sergey Chikuyonok <serge.che@gmail.com> (https://github.com/sergeche)",
@@ -14,9 +14,9 @@
"editing"
],
"engines": {
- "brackets": ">=0.38.0"
+ "brackets": ">=0.44.0"
},
"dependencies": {
- "emmet": "^1.1.6"
+ "emmet": "^1.1.7"
}
}
View
@@ -5,11 +5,11 @@
define(function(require, exports, module) {
var panelHtml = require('text!ui/panel.html');
- var PanelManager = brackets.getModule('view/PanelManager');
- var ExtensionUtils = brackets.getModule('utils/ExtensionUtils');
- var AppInit = brackets.getModule('utils/AppInit');
- var KeyEvent = brackets.getModule('utils/KeyEvent');
- var EditorManager = brackets.getModule('editor/EditorManager');
+ var ExtensionUtils = brackets.getModule('utils/ExtensionUtils');
+ var AppInit = brackets.getModule('utils/AppInit');
+ var KeyEvent = brackets.getModule('utils/KeyEvent');
+ var EditorManager = brackets.getModule('editor/EditorManager');
+ var WorkspaceManager = brackets.getModule('view/WorkspaceManager');
var $panel = $(panelHtml);
var panel = null;
@@ -49,7 +49,7 @@ define(function(require, exports, module) {
}
AppInit.appReady(function() {
- panel = PanelManager.createBottomPanel('io.emmet.interactive-prompt', $panel);
+ panel = WorkspaceManager.createBottomPanel('io.emmet.interactive-prompt', $panel);
// register keyboard handlers
$panel.find('.emmet-prompt__input')
@@ -100,7 +100,7 @@ define(function(require, exports, module) {
delegate.editor.undo();
}
};
-
+
panel.show();
$panel
.on('update.emmet', function(evt, value) {
@@ -131,4 +131,4 @@ define(function(require, exports, module) {
hide: hidePanel
};
-});
+});

0 comments on commit 8a069ea

Please sign in to comment.