Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
Remove unused shindigPatch resource from eXoResources
Browse files Browse the repository at this point in the history
  • Loading branch information
phuong_vu authored and trongtt committed Aug 23, 2012
1 parent 85a67ac commit 1ca4591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
21 changes: 0 additions & 21 deletions web/eXoResources/src/main/webapp/WEB-INF/gatein-resources.xml
Expand Up @@ -417,26 +417,5 @@
<module>jquery</module>
</depends>
</module>

<module>
<name>shindigPatch</name>
<script>
<name>eXo.gadget.Gadgets</name>
<path>/javascript/eXo/gadget/Gadgets.js</path>
</script>
<script>
<name>eXo.gadget.ExoBasedUserPrefStore</name>
<path>/javascript/eXo/gadget/ExoBasedUserPrefStore.js</path>
</script>
<depends>
<module>common</module>
</depends>
<depends>
<module>gadget</module>
</depends>
<depends>
<module>jquery</module>
</depends>
</module>

</gatein-resources>
Expand Up @@ -34,11 +34,10 @@ var eXoGadget = {
eXo.gadgets = window.gadgets;
gadgets.pubsubURL = hostName + '/js/gatein-container.js?c=1' + (debug ? "&debug=1": "") + (nocache ? "&nocache=1" : "&nocache=0");
var args = arguments;
require([gadgets.pubsubURL, 'SHARED/shindigPatch'],
function() {
require([gadgets.pubsubURL], function() {
//Make sure that 2 modules in shindig-patch has been loaded already
require(["eXo.gadget.Gadgets", "eXo.gadget.ExoBasedUserPrefStore"], function() {_module.UIGadget.createCallback.apply(window, args)});
});
});
},

createCallback : function(url, id, metadata, userPref, view, hostName, debug, nocache)
Expand Down

0 comments on commit 1ca4591

Please sign in to comment.