]> source.dussan.org Git - archiva.git/commitdiff
declare sortable binding as a module
authorOlivier Lamy <olamy@apache.org>
Tue, 27 Mar 2012 06:56:03 +0000 (06:56 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 27 Mar 2012 06:56:03 +0000 (06:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1305747 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/knockout-sortable.js

index 5b532f1dad84d577624cfc82703a3484026a4c45..1c0f3ddd015bb12a6ed3c4282f0357dbf3db2d45 100644 (file)
@@ -1,4 +1,6 @@
 //knockout-sortable | (c) 2012 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
+define("knockout.sortable",["jquery","order!utils","order!knockout"], function() {
+
 (function(ko, $, undefined) {
 var prepareTemplateOptions = function(valueAccessor) {
     var result = {},
@@ -133,4 +135,6 @@ ko.bindingHandlers.sortable = {
     beforeMove: null,
     options: {}
 };
-})(ko, jQuery);
\ No newline at end of file
+})(ko, jQuery);
+
+})
\ No newline at end of file