text: //  Copyright (c) 2014 Readium Foundation and/or its licensees. All rights reserved.
  //
  //  Redistribution and use in source and binary forms, with or without modification,
  //  are permitted provided that the following conditions are met:
  //  1. Redistributions of source code must retain the above copyright notice, this
  //  list of conditions and the following disclaimer.
  //  2. Redistributions in binary form must reproduce the above copyright notice,
  //  this list of conditions and the following disclaimer in the documentation and/or
  //  other materials provided with the distribution.
  //  3. Neither the name of the organization nor the names of its contributors may be
  //  used to endorse or promote products derived from this software without specific
  //  prior written permission.
  
  
  require.config({
  
      baseUrl: process._RJS_baseUrl(2),
  
      name: "readium-js-viewer_CLOUDAPP-WORKER",
  
      // relative to this config file (not baseUrl)
      out: "../build-output/_single-bundle/readium-js-viewer_CLOUDAPP-WORKER.js",
  
      include: [
          "readium_js_viewer_RJS-CONFIG", "readium_js_viewer/workers/CloudLibraryWriter"
      ],
  
      insertRequire: [
          "readium_js_viewer/workers/CloudLibraryWriter"
      ],
  
      stubModules: ['hgn', 'i18n'],
  
      paths:
      {
          "readium-js-viewer_CLOUDAPP-WORKER":
              process._RJS_rootDir(2) + '/readium-js/readium-shared-js/node_modules/almond/almond',
  
          "readium_js_viewer_RJS-CONFIG":
                  process._RJS_rootDir(2) + '/src/cloud-reader/requirejs-config',
  
          'i18nStrings':
              process._RJS_rootDir(2) + '/src/i18n/Strings',
  
          // 'Settings':
          //     process._RJS_rootDir(3) + '/src/chrome-app/storage/ChromeSettings',
  
  	'StorageManager':
              process._RJS_rootDir(2) + '/src/js/storage/IndexedDBStorageManager'
      },
  
      packages: [
            {
                name: 'readium_js_viewer_cloudApp',
                location:
                    process._RJS_rootDir(2) + '/src/cloud-reader',
  
                main: 'background'
            }
      ]
  });
  