kopia lustrzana https://github.com/c9/core
remove unused code
rodzic
65c7db386a
commit
426795f69c
|
@ -77,9 +77,6 @@ require(["lib/architect/architect", "lib/chai/chai"], function (architect, chai)
|
||||||
|
|
||||||
describe('gotoline', function() {
|
describe('gotoline', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
bar.$ext.style.position = "fixed";
|
bar.$ext.style.position = "fixed";
|
||||||
bar.$ext.style.left = "20px";
|
bar.$ext.style.left = "20px";
|
||||||
|
|
|
@ -75,9 +75,6 @@ require(["lib/architect/architect", "lib/chai/chai"], function (architect, chai)
|
||||||
|
|
||||||
describe('statusbar', function() {
|
describe('statusbar', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
bar.$ext.style.position = "fixed";
|
bar.$ext.style.position = "fixed";
|
||||||
bar.$ext.style.left = "20px";
|
bar.$ext.style.left = "20px";
|
||||||
|
|
|
@ -80,9 +80,6 @@ require(["lib/architect/architect", "lib/chai/chai"], function (architect, chai)
|
||||||
|
|
||||||
describe('ace', function() {
|
describe('ace', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
bar.$ext.style.position = "fixed";
|
bar.$ext.style.position = "fixed";
|
||||||
bar.$ext.style.left = "20px";
|
bar.$ext.style.left = "20px";
|
||||||
|
|
|
@ -101,9 +101,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
||||||
this.timeout(20000);
|
this.timeout(20000);
|
||||||
|
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
bar.$ext.style.position = "fixed";
|
bar.$ext.style.position = "fixed";
|
||||||
bar.$ext.style.left = "20px";
|
bar.$ext.style.left = "20px";
|
||||||
|
|
|
@ -82,9 +82,6 @@ require(["lib/architect/architect", "lib/chai/chai"],
|
||||||
this.timeout(20000);
|
this.timeout(20000);
|
||||||
|
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
bar.$ext.style.position = "fixed";
|
bar.$ext.style.position = "fixed";
|
||||||
bar.$ext.style.left = "20px";
|
bar.$ext.style.left = "20px";
|
||||||
|
|
|
@ -99,9 +99,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
||||||
this.timeout(10000);
|
this.timeout(10000);
|
||||||
|
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
bar.$ext.style.position = "absolute";
|
bar.$ext.style.position = "absolute";
|
||||||
bar.$ext.style.left = "20px";
|
bar.$ext.style.left = "20px";
|
||||||
|
|
|
@ -179,9 +179,6 @@ require(["lib/architect/architect", "lib/chai/chai", "plugins/c9.ide.language/co
|
||||||
this.timeout(20000);
|
this.timeout(20000);
|
||||||
|
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
window.bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
window.bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
window.bar.$ext.style.position = "fixed";
|
window.bar.$ext.style.position = "fixed";
|
||||||
window.bar.$ext.style.left = "20px";
|
window.bar.$ext.style.left = "20px";
|
||||||
|
|
|
@ -155,9 +155,6 @@ require(["lib/architect/architect", "lib/chai/chai", "plugins/c9.ide.language/co
|
||||||
describe('ace', function() {
|
describe('ace', function() {
|
||||||
this.timeout(30000);
|
this.timeout(30000);
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
window.bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
window.bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
window.bar.$ext.style.position = "fixed";
|
window.bar.$ext.style.position = "fixed";
|
||||||
window.bar.$ext.style.left = "20px";
|
window.bar.$ext.style.left = "20px";
|
||||||
|
|
|
@ -78,9 +78,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
||||||
|
|
||||||
describe('panels', function() {
|
describe('panels', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
layout.findParent();
|
layout.findParent();
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
|
|
|
@ -89,9 +89,6 @@ require([
|
||||||
this.timeout(20000);
|
this.timeout(20000);
|
||||||
|
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.height = "66%";
|
bar.$ext.style.height = "66%";
|
||||||
|
|
||||||
document.body.style.marginBottom = "66%";
|
document.body.style.marginBottom = "66%";
|
||||||
|
|
|
@ -84,9 +84,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
||||||
|
|
||||||
describe('breakpoints', function() {
|
describe('breakpoints', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
var bar = new ui.bar({
|
var bar = new ui.bar({
|
||||||
htmlNode: document.body
|
htmlNode: document.body
|
||||||
});
|
});
|
||||||
|
|
|
@ -56,9 +56,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
||||||
|
|
||||||
describe('breakpoints', function() {
|
describe('breakpoints', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
bar.$ext.style.position = "fixed";
|
bar.$ext.style.position = "fixed";
|
||||||
bar.$ext.style.top = "75px";
|
bar.$ext.style.top = "75px";
|
||||||
|
|
|
@ -56,9 +56,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
||||||
|
|
||||||
describe('breakpoints', function() {
|
describe('breakpoints', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
bar.$ext.style.position = "fixed";
|
bar.$ext.style.position = "fixed";
|
||||||
bar.$ext.style.top = "75px";
|
bar.$ext.style.top = "75px";
|
||||||
|
|
|
@ -92,9 +92,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root", "events"],
|
||||||
|
|
||||||
describe('breakpoints', function() {
|
describe('breakpoints', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
bar.$ext.style.position = "fixed";
|
bar.$ext.style.position = "fixed";
|
||||||
bar.$ext.style.top = "75px";
|
bar.$ext.style.top = "75px";
|
||||||
|
|
|
@ -111,9 +111,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
||||||
|
|
||||||
describe('terminal', function() {
|
describe('terminal', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
bar.$ext.style.position = "fixed";
|
bar.$ext.style.position = "fixed";
|
||||||
bar.$ext.style.left = "20px";
|
bar.$ext.style.left = "20px";
|
||||||
|
|
|
@ -102,9 +102,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
||||||
this.timeout(5000);
|
this.timeout(5000);
|
||||||
|
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
tabs.once("ready", function() {
|
tabs.once("ready", function() {
|
||||||
tabs.getPanes()[0].focus();
|
tabs.getPanes()[0].focus();
|
||||||
var path = "/autosave1.txt";
|
var path = "/autosave1.txt";
|
||||||
|
|
|
@ -129,9 +129,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root", "async"],
|
||||||
this.timeout(10000);
|
this.timeout(10000);
|
||||||
|
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
files = ["/save1.txt", "/save2.txt", "/save3.txt"];
|
files = ["/save1.txt", "/save2.txt", "/save3.txt"];
|
||||||
|
|
||||||
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
bar.$ext.style.background = "rgba(220, 220, 220, 0.93)";
|
||||||
|
|
|
@ -40,9 +40,6 @@ require(["lib/architect/architect", "lib/chai/chai"], function (architect, chai)
|
||||||
|
|
||||||
describe('menus', function() {
|
describe('menus', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.position = "fixed";
|
bar.$ext.style.position = "fixed";
|
||||||
bar.$ext.style.left = "20px";
|
bar.$ext.style.left = "20px";
|
||||||
bar.$ext.style.right = "300px";
|
bar.$ext.style.right = "300px";
|
||||||
|
|
|
@ -71,9 +71,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
||||||
describe('upload', function() {
|
describe('upload', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
imports.settings.set("general/@animateui", true);
|
imports.settings.set("general/@animateui", true);
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
var createJob = uploadManager._createJob;
|
var createJob = uploadManager._createJob;
|
||||||
uploadManager._createJob = function() {
|
uploadManager._createJob = function() {
|
||||||
var job = createJob.apply(this, arguments);
|
var job = createJob.apply(this, arguments);
|
||||||
|
|
|
@ -81,9 +81,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
||||||
|
|
||||||
describe('upload', function() {
|
describe('upload', function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -86,9 +86,6 @@ require([
|
||||||
this.timeout(20000);
|
this.timeout(20000);
|
||||||
|
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
apf.config.setProperty("allow-select", false);
|
|
||||||
apf.config.setProperty("allow-blur", false);
|
|
||||||
|
|
||||||
bar.$ext.style.height = "66%";
|
bar.$ext.style.height = "66%";
|
||||||
|
|
||||||
document.body.style.marginBottom = "66%";
|
document.body.style.marginBottom = "66%";
|
||||||
|
|
Ładowanie…
Reference in New Issue