text: /**
   * @license
   * Copyright (c) 2014, 2018, Oracle and/or its affiliates.
   * The Universal Permissive License (UPL), Version 1.0
   */
  'use strict';
  
  /**
   * Example of Require.js boostrap javascript
   */
  
  requirejs.config(
  {
    baseUrl: 'js',
  
    // Path mappings for the logical module names
    // Update the main-release-paths.json for release mode when updating the mappings
    paths:
  //injector:mainReleasePaths
  
  {
    "knockout":"libs/knockout/knockout-3.4.2.debug",
    "jquery":"libs/jquery/jquery-3.3.1",
    "jqueryui-amd":"libs/jquery/jqueryui-amd-1.12.1",
    "promise":"libs/es6-promise/es6-promise",
    "hammerjs":"libs/hammer/hammer-2.0.8",
    "ojdnd":"libs/dnd-polyfill/dnd-polyfill-1.0.0",
    "ojs":"libs/oj/v6.0.1/debug",
    "ojL10n":"libs/oj/v6.0.1/ojL10n",
    "ojtranslations":"libs/oj/v6.0.1/resources",
    "text":"libs/require/text",
    "touchr":"libs/touchr/touchr",
    "signals":"libs/js-signals/signals",
    "customElements":"libs/webcomponents/custom-elements.min",
    "css":"libs/require-css/css" //   "codemirror":"libs/codemirror/lib/codemirror",
  }
  
  //endinjector
  }
  );
  
  /**
   * A top-level require call executed by the Application.
   * Although 'ojcore' and 'knockout' would be loaded in any case (they are specified as dependencies
   * by the modules themselves), we are listing them explicitly to get the references to the 'oj' and 'ko'
   * objects in the callback
   */
  require(['ojs/ojcore', 'knockout', 'appController', 'jquery', 'ojs/ojknockout',
    'ojs/ojmodule', 'ojs/ojrouter', 'ojs/ojnavigationlist', 'ojs/ojbutton', 'ojs/ojtoolbar'],
    function (oj, ko, app, $) { // this callback gets executed when all required modules are loaded
  
      $(function() {
  
        function init() {
          oj.Router.sync().then(
            function () {
  	    app.loadModule();
              // Bind your ViewModel for the content of the whole page body.
              ko.applyBindings(app, document.getElementById('globalBody'));
            },
            function (error) {
              oj.Logger.error('Error in root start: ' + error.message);
            }
          );
        }
  
        // If running in a hybrid (e.g. Cordova) environment, we need to wait for the deviceready 
        // event before executing any code that might interact with Cordova APIs or plugins.
        if ($(document.body).hasClass('oj-hybrid')) {
          document.addEventListener("deviceready", init);
        } else {
          init();
        }
  
      });
  
    }
  );
  