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
|
@ -1,4 +1,6 @@
|
||||||
//knockout-sortable | (c) 2012 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
|
//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) {
|
(function(ko, $, undefined) {
|
||||||
var prepareTemplateOptions = function(valueAccessor) {
|
var prepareTemplateOptions = function(valueAccessor) {
|
||||||
var result = {},
|
var result = {},
|
||||||
|
@ -134,3 +136,5 @@ ko.bindingHandlers.sortable = {
|
||||||
options: {}
|
options: {}
|
||||||
};
|
};
|
||||||
})(ko, jQuery);
|
})(ko, jQuery);
|
||||||
|
|
||||||
|
})
|
Loading…
Reference in New Issue