1
0
mirror of synced 2024-11-21 20:46:07 +03:00

Don't show line numbers for one line code examples.

This commit is contained in:
Florian Kissling 2015-04-28 01:17:01 +02:00
parent 33b637dbf9
commit 80dbd692db

View File

@ -69,7 +69,7 @@ $.fn.select2.amd.require(
This means that if you declare your <code>&lt;select&gt;</code> tag as...
</p>
<pre class="prettyprint linenums">
<pre class="prettyprint">
&lt;select data-tags="true" data-placeholder="Select an option"&gt;&lt;/select&gt;
</pre>
@ -93,7 +93,7 @@ $("select").select2({
<a href="https://github.com/select2/select2/issues/2969">do not work in jQuery 1.x</a>.
</p>
<pre class="prettyprint linenums">
<pre class="prettyprint">
&lt;select data-ajax--url="http://example.org/api/test" data-ajax--cache="true"&gt;&lt;/select&gt;
</pre>
@ -226,8 +226,8 @@ $("select").select2({
placeholders.
</p>
<pre class="prettyprint linenums">
placeholder: "Select a repository",
<pre class="prettyprint">
placeholder: "Select a repository"
</pre>
<p>
@ -1409,7 +1409,7 @@ DataAdapter.query = function (params, callback) {
string.
</p>
<pre class="prettyprint linenums">
<pre class="prettyprint">
$.fn.select2.defaults.set("theme", "classic");
</pre>