diff options
author | Olivier Lamy <olamy@apache.org> | 2012-07-10 10:39:54 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-07-10 10:39:54 +0000 |
commit | ad46b9fe36b8373ee6a27390f6dc299589ddada3 (patch) | |
tree | 304c96c9d48d85aaa3404258332be8528f414db5 | |
parent | d3731db036b6ddd0fb6ebaad64061767b7fe45ff (diff) | |
download | archiva-ad46b9fe36b8373ee6a27390f6dc299589ddada3.tar.gz archiva-ad46b9fe36b8373ee6a27390f6dc299589ddada3.zip |
add comment on AMD compliance hack
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1359582 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/jquery.i18n.properties-1.0.9.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/jquery.i18n.properties-1.0.9.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/jquery.i18n.properties-1.0.9.js index 75794bb3c..573c4de93 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/jquery.i18n.properties-1.0.9.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/jquery.i18n.properties-1.0.9.js @@ -12,6 +12,7 @@ * *****************************************************************************/ +// START olamy hack more AMD compliant (function($, window) { (function(factory){ // Support module loading scenarios @@ -24,6 +25,7 @@ } }) +// END olamy hack (function($) { $.i18n = {}; @@ -490,6 +492,8 @@ String.prototype.split = function (separator, limit) { return cbSplit(this, separator, limit); }; -}); +});// (jQuery); -})(jQuery, window);
\ No newline at end of file +// START olamy hack more AMD compliant +})(jQuery, window); +// END olamy hack
\ No newline at end of file |