From: Olivier Lamy Date: Thu, 2 May 2013 06:41:53 +0000 (+0000) Subject: use knockout-sortable 0.7.2 X-Git-Tag: archiva-1.4-M4~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6100dd6b54f9bb40b106716d237c8ae1296aeae0;p=archiva.git use knockout-sortable 0.7.2 git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1478283 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/knockout-sortable.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/knockout-sortable.js index f4259528b..287e5664f 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/knockout-sortable.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/knockout-sortable.js @@ -1,285 +1,309 @@ -//knockout-sortable 0.6.6 | (c) 2012 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license +//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); + if (typeof define === "function" && define.amd) { + // AMD anonymous module + define(["knockout", "jquery", "jquery.ui"], factory); + } else { + // No module loader (plain