Small typo on language (typed lanugage)
Small typo on language (typed lanugage)
This commit is contained in:
parent
f2ae054f21
commit
f3d1f5d0b8
@ -16,7 +16,7 @@
|
||||
</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>
|
||||
|
||||
{% highlight js linenos %}
|
||||
@ -43,4 +43,4 @@ $.fn.select2.defaults.set('amdLanguageBase', 'select2/i18n/');
|
||||
<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.
|
||||
</p>
|
||||
</section>
|
||||
</section>
|
||||
|
Loading…
x
Reference in New Issue
Block a user