From 6f6478b819ddf7530d671ce676016b377c1bd6ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannis=20Mo=C3=9Fhammer?= Date: Wed, 19 Jun 2013 13:21:25 +0200 Subject: [PATCH] Rename require reference to requirejs Require is a reserverd word for phantomjs refs #4315 refs #4303 --- public/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index 5e5005ae0..f0fa6ceb9 100755 --- a/public/js/main.js +++ b/public/js/main.js @@ -17,8 +17,8 @@ requirejs.config({ }); define(['jquery','Holder'], function ($) { - require(['bootstrap']); - require(['icinga/icinga'], function (Icinga) { + requirejs(['bootstrap']); + requirejs(['icinga/icinga'], function (Icinga) { window.$ = $; window.jQuery = $; window.Icinga = Icinga;