1
0
mirror of synced 2024-11-26 14:56:07 +03:00

Rip out the old AMD docs

This commit is contained in:
Kevin Brown 2015-03-14 19:49:47 -04:00
parent fc43f00b59
commit aa8978e551

View File

@ -112,10 +112,10 @@ $("select").select2({
<p> <p>
You can find more information on how to integrate Select2 with your You can find more information on how to integrate Select2 with your
existing AMD-based project by existing AMD-based project by
<a href="announcements-4.0.html#amd-builds">viewing the 4.0 release notes</a>. <a href="announcements-4.0.html#builds">viewing the 4.0 release notes</a>.
Select2 automatically loads some modules when the adapters are being Select2 automatically loads some modules when the adapters are being
automatically constructed, so those who are using Select2 with a custom automatically constructed, so those who are using Select2 with a custom
AMD build using their own system will need to specify the paths that are AMD build using their own system may need to specify the paths that are
generated to the Select2 modules. generated to the Select2 modules.
</p> </p>
@ -148,17 +148,6 @@ $("select").select2({
</div> </div>
</div> </div>
<p>
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 (<code>select2.amd.js</code>). 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 <code>amdBase</code> and
<code>amdLanguage</code> base options, which can be set globally through
<a href="#defaults">the default options</a>.
</p>
<h2> <h2>
Display Display
</h2> </h2>