From 6aacc02211599b56a9d76cd660fa6f585d88d176 Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Tue, 5 May 2015 16:48:57 +0200 Subject: [PATCH] Make exception explicit --- plugins/c9.ide.ace/ace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/c9.ide.ace/ace.js b/plugins/c9.ide.ace/ace.js index a06b159e..d8f6d7a0 100644 --- a/plugins/c9.ide.ace/ace.js +++ b/plugins/c9.ide.ace/ace.js @@ -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) {