From 6100dd6b54f9bb40b106716d237c8ae1296aeae0 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 2 May 2013 06:41:53 +0000 Subject: [PATCH] use knockout-sortable 0.7.2 git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1478283 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/knockout-sortable.js | 558 +++++++++--------- 1 file changed, 291 insertions(+), 267 deletions(-) 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