1
0
Fork 0
mirror of synced 2025-04-02 20:56:15 +03:00

fix: modify announcement 4.0 doc Tags example

This commit is contained in:
wobbie 2015-08-03 11:48:26 +01:00
parent 14832a8ca4
commit 2932c5448b

View file

@ -685,7 +685,7 @@ var data = $.map([
</p>
<pre class="prettyprint linenums">
&lt;select data-select2-tags="[{id: '1', text: 'One', id: '2', text: 'Two'}]"&gt;&lt;/select&gt;
&lt;select data-select2-tags='[{"id": "1", "text": "One"}, {"id": "2", "text": "Two"}]'&gt;&lt;/select&gt;
</pre>
<p>
@ -693,7 +693,7 @@ var data = $.map([
</p>
<pre class="prettyprint linenums">
&lt;select data-data="[{id: '1', text: 'One', id: '2', text: 'Two'}]" data-tags="true"&gt;&lt;/select&gt;
&lt;select data-data='[{"id": "1", "text": "One"}, {"id": "2", "text": "Two"}]' data-tags="true"&gt;&lt;/select&gt;
</pre>
<h2 id="removed-methods">Deprecated and removed methods</h2>