1
0
mirror of synced 2025-02-10 09:09:24 +03:00

Small typo on language (typed lanugage)

Small typo on language (typed lanugage)
This commit is contained in:
Olivier Contant 2017-02-09 16:52:57 -05:00 committed by James Pic
parent f2ae054f21
commit f3d1f5d0b8

View File

@ -16,7 +16,7 @@
</p> </p>
<p> <p>
If you are using Select2 in a build environment where preexisting module names are changed during a build step, Select2 may not be able to find optional dependencies or language files. You can manually set the prefixes to use for these files using the <code>amdBase</code> and <code>amdLanugageBase</code> options. If you are using Select2 in a build environment where preexisting module names are changed during a build step, Select2 may not be able to find optional dependencies or language files. You can manually set the prefixes to use for these files using the <code>amdBase</code> and <code>amdLanguageBase</code> options.
</p> </p>
{% highlight js linenos %} {% highlight js linenos %}
@ -43,4 +43,4 @@ $.fn.select2.defaults.set('amdLanguageBase', 'select2/i18n/');
<p> <p>
Select2 internally uses AMD and the r.js build tool to build the files located in the <code>dist</code> folder. These are built using the files in the <code>src</code> folder, so <em>you can</em> just point your modules to the Select2 source and load in <code>jquery.select2</code> or <code>select2/core</code> when you want to use Select2. The files located in the <code>dist</code> folder are also AMD-compatible, so you can point to that file if you want to load in all of the default Select2 modules. Select2 internally uses AMD and the r.js build tool to build the files located in the <code>dist</code> folder. These are built using the files in the <code>src</code> folder, so <em>you can</em> just point your modules to the Select2 source and load in <code>jquery.select2</code> or <code>select2/core</code> when you want to use Select2. The files located in the <code>dist</code> folder are also AMD-compatible, so you can point to that file if you want to load in all of the default Select2 modules.
</p> </p>
</section> </section>