Просмотр исходного кода

fix: modify announcement 4.0 doc Tags example

wobbie 9 лет назад
Родитель
Сommit
2932c5448b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      docs/announcements-4.0.html

+ 2 - 2
docs/announcements-4.0.html

@@ -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>