From c5a3f34012a40c3226c5d01ea53d3d32482aaa18 Mon Sep 17 00:00:00 2001
From: Kevin Brown
+ You can find more information on how to integrate Select2 with your + existing AMD-based project by + viewing the 4.0 release notes. + Select2 automatically loads some modules when the adapters are being + automatically constructed, so those who are using Select2 with a custom + AMD build using their own system will need to specify the pathes that are + generated to the Select2 modules. +
+ +amdBase
+ select2/
+ amdLanguageBase
+ select2/i18n/
+
+ If you are using Select2 in your own code base with your own AMD build
+ system, it is recommended to use the full source of Select2 instead of the
+ custom AMD build (select2.amd.js
). This will allow you to
+ apply your own build steps, such as minification and concatenation,
+ independent of the Select2 defaults. You will need to set the path to the
+ source directories in the amdBase
and
+ amdLanguage
base options, which can be set globally through
+ the default options.
+