pull/149/head
nightwing 2015-09-07 15:46:03 +04:00
rodzic 945322734b
commit 1a00ab0140
2 zmienionych plików z 6 dodań i 10 usunięć

Wyświetl plik

@ -886,7 +886,7 @@ define(function(require, exports, module) {
if (!scrollTimer) {
scrollTimer = setTimeout(function() {
settings.set("state/projecttree/@scrollpos",
tree && settings.set("state/projecttree/@scrollpos",
tree.provider.getScrollTop());
scrollTimer = null;
}, 1000);
@ -902,7 +902,7 @@ define(function(require, exports, module) {
emit.sticky("ready");
};
if (c9.connected) { //was c9.inited
if (c9.connected) { // was c9.inited
setTimeout(function() {
loadProjectTree(null, done);
}, 200);

Wyświetl plik

@ -104,16 +104,12 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
describe('tree', function() {
before(function(done) {
tree.getElement("winFilesViewer", function(win) {
win.$ext.style.position = "fixed";
win.$ext.style.top = "75px";
win.$ext.style.right = "20px";
win.$ext.style.bottom = "20px";
win.$ext.style.width = "200px";
win.show();
tree.getElement("container", function(container_) {
container = container_;
container.$ext.style.height = "500px";
container.$ext.style.width = "200px";
tree.tree.resize();
container = tree.getElement("container");
done();
});