mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Merge pull request +15418 from c9/test-protractor
Protractor based ide tests
This commit is contained in:
commit
e81e81a400
@ -1058,7 +1058,7 @@ var lastSaveStarts = {};
|
||||
// Used to block concurrent edit updates while the document is being processed
|
||||
//
|
||||
// { <key or document_id> : [{Function}] }
|
||||
var locks = {};
|
||||
var locks = Object.create(null);
|
||||
function lock(key, callback) {
|
||||
if (!locks[key]) {
|
||||
locks[key] = [];
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/*global apf*/
|
||||
define(function(require, exports, module) {
|
||||
main.consumes = [
|
||||
"Panel", "ui", "menus", "panels", "commands", "tabManager", "layout",
|
||||
@ -156,16 +157,14 @@ define(function(require, exports, module) {
|
||||
// Focus the input field
|
||||
setTimeout(function() {
|
||||
txtFilter.focus();
|
||||
}, 10);
|
||||
});
|
||||
|
||||
setTimeout(function() {
|
||||
// Assign the dataprovider
|
||||
tree.setDataProvider(ldSearch);
|
||||
tree.selection.$wrapAround = true;
|
||||
var val = settings.get("state/commandPanel/@value");
|
||||
if (val)
|
||||
txtFilter.ace.setValue(val);
|
||||
}, 200);
|
||||
// Assign the dataprovider
|
||||
tree.setDataProvider(ldSearch);
|
||||
tree.selection.$wrapAround = true;
|
||||
var val = settings.get("state/commandPanel/@value");
|
||||
if (val)
|
||||
txtFilter.ace.setValue(val);
|
||||
}
|
||||
|
||||
/***** Methods *****/
|
||||
|
||||
@ -166,7 +166,7 @@ define(function(require, exports, module) {
|
||||
hotkey: "commands.openterminal",
|
||||
onclick: function(e) {
|
||||
tabs.open({
|
||||
active: true,
|
||||
focus: true,
|
||||
pane: this.parentNode.pane,
|
||||
editorType: "terminal"
|
||||
}, function() {});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user