1
0
mirror of synced 2025-02-04 06:09:23 +03:00

Merge pull request #3637 from wobbie/master

fix: modify announcement 4.0 doc Tags example
This commit is contained in:
Kevin Brown 2015-08-19 20:02:37 -04:00
commit 7bc9387de2

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>