Make exception explicit

pull/117/head
Lennart Kats 2015-05-05 16:48:57 +02:00
rodzic a16f73ebc7
commit 6aacc02211
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -149,7 +149,7 @@ define(function(require, exports, module) {
// fixes a problem with Ace architect loading /lib/ace
// creating a conflict with themes
if (theme.isDark === undefined)
if (!theme || theme.isDark === undefined)
throw new Error();
}
catch (e) {