declare sortable binding as a module

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1305747 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-03-27 06:56:03 +00:00
parent 4d15a75244
commit d6ff031829
1 changed files with 5 additions and 1 deletions
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js

View 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);
})(ko, jQuery);
})