Rename require reference to requirejs

Require is a reserverd word for phantomjs

refs #4315
refs #4303
This commit is contained in:
Jannis Moßhammer 2013-06-19 13:21:25 +02:00
parent fa5c499733
commit 6f6478b819
1 changed files with 2 additions and 2 deletions

View File

@ -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;