<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--

  Copyright (C) 2016 eXo Platform SAS.

  This is free software; you can redistribute it and/or modify it
  under the terms of the GNU Lesser General Public License as
  published by the Free Software Foundation; either version 2.1 of
  the License, or (at your option) any later version.

  This software is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with this software; if not, write to the Free
  Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->
<gatein-resources
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_resources_1_3 http://www.gatein.org/xml/ns/gatein_resources_1_3"
    xmlns="http://www.gatein.org/xml/ns/gatein_resources_1_3">

  <!-- CSS for Outlook views -->
  <portal-skin>
    <skin-name>Default</skin-name>
    <skin-module>OutlookView</skin-module>
    <css-path>/skin/outlook-view.css</css-path>
  </portal-skin>

  <!-- Javascript for Outlook portlet -->
  <module>
    <!-- JQueryUI used for show/hide decoration -->
    <name>outlookJqueryUI</name>
    <load-group>outlookGRP</load-group>
    <script>
      <adapter>
        (function(jQuery) {
        <include>/js/jquery-ui.min.js</include>
        })($);
      </adapter>
    </script>
    <depends>
      <module>jquery</module>
    </depends>
  </module>
  <module>
    <name>outlookFabricUI</name>
    <load-group>outlookGRP</load-group>
    <script>
      <adapter>
        (function(jQuery) {
        <include>/js/jquery.fabric.min.js</include>
        return fabric;
        })($);
      </adapter>
    </script>
    <depends>
      <module>jquery</module>
    </depends>
    <depends>
      <module>wcm-utils</module>
    </depends>
  </module>
  <module>
    <name>outlookView</name>
    <load-group>outlookViewGRP</load-group>
    <script>
      <path>/js/outlook-view.js</path>
    </script>
    <depends>
      <module>jquery</module>
    </depends>
  </module>
</gatein-resources>
