From: Olivier Lamy Date: Thu, 2 May 2013 06:42:18 +0000 (+0000) Subject: use a versionned file name for js library X-Git-Tag: archiva-1.4-M4~41 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6ce0d478a8c863df86902b80020901c10451c3ed;p=archiva.git use a versionned file name for js library git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1478284 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js index debca7aa0..cea993127 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/archiva.js @@ -71,7 +71,7 @@ $.ajax({ "knockout": "knockout-2.2.0.debug", "knockout.simpleGrid": "knockout.simpleGrid", "knockout.select2": "knockout.select2", - "knockout.sortable": "knockout-sortable", + "knockout.sortable": "knockout-sortable.0.7.2", "jquery.iframe.transport": "jquery.iframe-transport-1.4", "jquery.fileupload": "jquery.fileupload-5.10.0", "jquery.fileupload.ip":"jquery.fileupload-ip-1.0.6", diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/knockout-sortable.0.7.2.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/knockout-sortable.0.7.2.js new file mode 100644 index 000000000..287e5664f --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/knockout-sortable.0.7.2.js @@ -0,0 +1,309 @@ +//knockout-sortable 0.7.2 | (c) 2012 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license +(function(factory) { + if (typeof define === "function" && define.amd) { + // AMD anonymous module + define(["knockout", "jquery", "jquery.ui"], factory); + } else { + // No module loader (plain