Skip to content

Commit

Permalink
Merge pull request #3637 from wobbie/master
Browse files Browse the repository at this point in the history
fix: modify announcement 4.0 doc Tags example
  • Loading branch information
kevin-brown committed Aug 20, 2015
2 parents 700f790 + 2932c54 commit 7bc9387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/announcements-4.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -685,15 +685,15 @@ <h3 id="changed-data">
</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>
…then you should now declare it as…
</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>
Expand Down

0 comments on commit 7bc9387

Please sign in to comment.