mirror of https://github.com/apache/archiva.git
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:
parent
4d15a75244
commit
d6ff031829
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js
|
@ -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);
|
||||
|
||||
})
|
Loading…
Reference in New Issue