Skip to content

Commit bc9e260

Browse files
committed
All: Reduce examples down to a single basic example
Ref jquerygh-176
1 parent 762c12f commit bc9e260

File tree

4 files changed

+0
-113
lines changed

4 files changed

+0
-113
lines changed

entries/autocomplete.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -255,24 +255,6 @@ $( "#autocomplete" ).autocomplete({
255255
<html><![CDATA[
256256
<label for="autocomplete">Select a programming language: </label>
257257
<input id="autocomplete">
258-
]]></html>
259-
</example>
260-
<example>
261-
<desc>Using a custom source callback to match only the beginning of terms</desc>
262-
<code><![CDATA[
263-
var tags = [ "c++", "java", "php", "coldfusion", "javascript", "asp", "ruby" ];
264-
$( "#autocomplete" ).autocomplete({
265-
source: function( request, response ) {
266-
var matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( request.term ), "i" );
267-
response( $.grep( tags, function( item ){
268-
return matcher.test( item );
269-
}) );
270-
}
271-
});
272-
]]></code>
273-
<html><![CDATA[
274-
<label for="autocomplete">Select a programming language: </label>
275-
<input id="autocomplete">
276258
]]></html>
277259
</example>
278260
<category slug="widgets"/>

entries/progressbar.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,6 @@ $( "#progressbar" ).progressbar({
109109
]]></code>
110110
<html><![CDATA[
111111
<div id="progressbar"></div>
112-
]]></html>
113-
</example>
114-
<example>
115-
<height>50</height>
116-
<desc>A simple jQuery UI Indeterminate Progressbar</desc>
117-
<code><![CDATA[
118-
$( "#progressbar" ).progressbar({
119-
value: false
120-
});
121-
]]></code>
122-
<html><![CDATA[
123-
<div id="progressbar"></div>
124112
]]></html>
125113
</example>
126114
<category slug="widgets"/>

entries/scale-effect.xml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,6 @@ $( document ).click(function() {
3636
<html><![CDATA[
3737
<p>Click anywhere to toggle the box.</p>
3838
<div id="toggle"></div>
39-
]]></html>
40-
</example>
41-
<example>
42-
<height>200</height>
43-
<desc>Toggle a div using the scale effect in just one direction.</desc>
44-
<css><![CDATA[
45-
#toggle {
46-
width: 100px;
47-
height: 100px;
48-
background: #ccc;
49-
}
50-
]]></css>
51-
<code><![CDATA[
52-
$( document ).click(function() {
53-
$( "#toggle" ).toggle({ effect: "scale", direction: "horizontal" });
54-
});
55-
]]></code>
56-
<html><![CDATA[
57-
<p>Click anywhere to toggle the box.</p>
58-
<div id="toggle"></div>
5939
]]></html>
6040
</example>
6141
<category slug="effects"/>

entries/selectmenu.xml

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -323,69 +323,6 @@ $( "#speed" ).selectmenu();
323323
<css><![CDATA[
324324
label { display: block; }
325325
select { width: 200px; }
326-
]]></css>
327-
</example>
328-
<example>
329-
<height>270</height>
330-
<desc>A simple jQuery UI Selectmenu with optgroups</desc>
331-
<code><![CDATA[
332-
$( "#files" ).selectmenu();
333-
]]></code>
334-
<html><![CDATA[
335-
<label for="files">Select a file:</label>
336-
<select name="files" id="files">
337-
<optgroup label="Scripts">
338-
<option value="jquery">jQuery.js</option>
339-
<option value="jqueryui">ui.jQuery.js</option>
340-
</optgroup>
341-
<optgroup label="Other files">
342-
<option value="somefile">Some unknown file</option>
343-
<option value="someotherfile">Some other file</option>
344-
</optgroup>
345-
</select>
346-
]]></html>
347-
<css><![CDATA[
348-
label { display: block; }
349-
select { width: 200px; }
350-
]]></css>
351-
</example>
352-
<example>
353-
<height>270</height>
354-
<desc>A jQuery UI Selectmenu with overflow</desc>
355-
<code><![CDATA[
356-
$( "#number" )
357-
.selectmenu()
358-
.selectmenu( "menuWidget" )
359-
.addClass( "overflow" );
360-
]]></code>
361-
<html><![CDATA[
362-
<label for="number">Select a number:</label>
363-
<select name="number" id="number">
364-
<option value="1">1</option>
365-
<option value="2" selected>2</option>
366-
<option value="3">3</option>
367-
<option value="4">4</option>
368-
<option value="5">5</option>
369-
<option value="6">6</option>
370-
<option value="7">7</option>
371-
<option value="8">8</option>
372-
<option value="9">9</option>
373-
<option value="10">10</option>
374-
<option value="11">11</option>
375-
<option value="12">12</option>
376-
<option value="13">13</option>
377-
<option value="14">14</option>
378-
<option value="15">15</option>
379-
<option value="16">16</option>
380-
<option value="17">17</option>
381-
<option value="18">18</option>
382-
<option value="19">19</option>
383-
</select>
384-
]]></html>
385-
<css><![CDATA[
386-
label { display: block; }
387-
select { width: 200px; }
388-
.overflow { height: 200px; }
389326
]]></css>
390327
</example>
391328
<category slug="widgets"/>

0 commit comments

Comments
 (0)