Create new file for test settings if it doesn't exist

pull/134/merge
Ruben Daniels 2015-08-25 22:28:48 -07:00
rodzic 3c31abc4cd
commit 78323a7e16
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -1098,7 +1098,11 @@ define(function(require, module, exports) {
function done(err, value) {
tab.classList.remove("loading");
if (err) {
if (err && options.newOnError) {
tab.document.meta.newfile = true;
value = options.value || "";
}
else if (err) {
tab.classList.add("error");
tab.document.meta.error = true;