]> source.dussan.org Git - archiva.git/commitdiff
use requirejs for main entry point
authorOlivier Lamy <olamy@apache.org>
Thu, 23 Aug 2012 12:50:46 +0000 (12:50 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 23 Aug 2012 12:50:46 +0000 (12:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1376470 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html

index 65f630d8f39ef95b5c3da6f2087d4efb72606b1e..732ffcbf36248f2656727a50ad4650715f58adad 100644 (file)
                     }
                 });
 
-                require(['jquery','jquery.tmpl','i18n','sammy','startup','utils','domReady!'], function (domReady) {
+                requirejs(['jquery','jquery.tmpl','i18n','sammy','startup','utils','domReady!'], function (domReady) {
                     loadi18n(function () {
                       $.ajax({
                           url: "restServices/archivaUiServices/runtimeInfoService/archivaRuntimeInfo/"+usedLang(),