From: Olivier Lamy Date: Tue, 5 Mar 2013 00:02:36 +0000 (+0000) Subject: better to use a select2 binding: add it X-Git-Tag: archiva-1.4-M4~113 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=580098041694ee6dcdeeca6b6738fe7210a20a36;p=archiva.git better to use a select2 binding: add it git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1452604 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/knockout.select2.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/knockout.select2.js new file mode 100644 index 000000000..886b1c447 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/knockout.select2.js @@ -0,0 +1,29 @@ +(function(factory) { + if (typeof define === "function" && define.amd) { + // AMD anonymous module + define("knockout.select2",["jquery","knockout","utils","select2"], factory); + } else { + // No module loader (plain