Add form and options support to test runners. Enable debugging for mocha runner

pull/134/merge
Ruben Daniels 2015-08-23 09:46:54 -07:00
rodzic b8bc0c4a52
commit 42cecfa3e9
2 zmienionych plików z 8 dodań i 3 usunięć

Wyświetl plik

@ -71,7 +71,7 @@
"c9.ide.find": "#35379124ca", "c9.ide.find": "#35379124ca",
"c9.ide.find.infiles": "#c132ad243c", "c9.ide.find.infiles": "#c132ad243c",
"c9.ide.find.replace": "#44772dd796", "c9.ide.find.replace": "#44772dd796",
"c9.ide.run.debug": "#25a59d1269", "c9.ide.run.debug": "#aa292a3d7d",
"c9.automate": "#47e2c429c9", "c9.automate": "#47e2c429c9",
"c9.ide.ace.emmet": "#6dc4585e02", "c9.ide.ace.emmet": "#6dc4585e02",
"c9.ide.ace.gotoline": "#a8ff07c8f4", "c9.ide.ace.gotoline": "#a8ff07c8f4",

Wyświetl plik

@ -56,7 +56,7 @@ define(function(require, exports, module) {
container = new ui.bar({ container = new ui.bar({
htmlNode: htmlNode || document.body, htmlNode: htmlNode || document.body,
"class" : options.className, "class" : options.className,
style: options.style style: options.style || ""
}); });
plugin.addElement(container); plugin.addElement(container);
@ -479,7 +479,7 @@ define(function(require, exports, module) {
} }
htmlNode.insertBefore(container.$ext, beforeNode || null); htmlNode.insertBefore(container.$ext, beforeNode || null);
emit("show"); show();
} }
function detach(){ function detach(){
@ -491,6 +491,11 @@ define(function(require, exports, module) {
if (!json) if (!json)
json = {}; json = {};
if (!drawn) {
draw();
hide();
}
(amlNode || container).childNodes.forEach(function(row) { (amlNode || container).childNodes.forEach(function(row) {
if (row.localName == 'bar') if (row.localName == 'bar')
return toJson(row, json); return toJson(row, json);