Changeset 13737

Show
Ignore:
Timestamp:
05/15/08 04:24:57 (3 months ago)
Author:
alex
Message:

fixing EOL and svn:eol-style attribute. Grrr. Refs #6754

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/tests/form/test_Button.html

    r13735 r13737  
    2020 
    2121                <!-- required: the default dijit theme: --> 
    22                 <link id="themeStyles" rel="stylesheet" href="../../../dijit/themes/tundra/tundra.css" /> 
     22                <link id="themeStyles" rel="stylesheet" href="../../../dijit/themes/tundra/tundra.css"> 
    2323 
    2424                <!-- required: dojo.js --> 
     
    117117                                        onClick="console.log('not actually saving anything, just a test!')">Save As</div> 
    118118                        </div> 
    119                 </div>   
    120         </div> 
    121         <br clear=both>  
     119                </div> 
     120        </div> 
     121        <br clear=both> 
    122122        <h2>Toggle buttons</h2> 
    123123        <p>The button CSS as well as the icon CSS can change on toggle </p> 
     
    155155        <h2>Customized buttons</h2> 
    156156        <p>Dojo users can customize styles.  Here's an example:</p> 
    157         <style> 
     157        <style type="text/css"> 
    158158                .acmeButton .dijitButtonNode { 
    159159                        background: rgb(96,96,96) !important; 
     
    215215                        dijit.registry.filter(function(widget){ return widget instanceof dijit.form.Button; }).forEach(func); 
    216216                } 
    217                         var disabled=false; 
    218                 function toggleDisabled(){       
    219                         disabled=!disabled; 
     217                var disabled = false; 
     218                function toggleDisabled(){ 
     219                        disabled =! disabled; 
    220220                        forEachButton(function(widget){ widget.setAttribute('disabled',disabled); }); 
    221221                        dojo.byId("toggle").innerHTML= disabled ? "Enable all" : "Disable all"; 
     
    224224                                         "<span style='color: red'>makes</span>", "Jack", "<h3>a</h3>", "dull", 
    225225                                         "<img src='../images/plus.gif' width='16' height='16'>boy"]; 
    226                 var idx=0; 
     226                var idx = 0; 
    227227                function changeLabels(){ 
    228228                        forEachButton(function(widget){ 
     
    239239        <div id="buttonContainer"></div> 
    240240        <script type="text/javascript"> 
    241         // See if we can make a button in script and attach it to the DOM ourselves. 
    242         dojo.addOnLoad(function(){ 
    243                 var params = { 
    244                         label: "hello!", 
    245                         name: "programmatic" 
    246                 }; 
    247                 var widget = new dijit.form.Button(params, document.getElementById("buttonContainer")); 
    248         }); 
     241                // See if we can make a button in script and attach it to the DOM ourselves. 
     242                dojo.addOnLoad(function(){ 
     243                        var params = { 
     244                                label: "hello!", 
     245                                name: "programmatic" 
     246                        }; 
     247                        var widget = new dijit.form.Button(params, "buttonContainer"); 
     248                }); 
    249249        </script> 
    250250    <h3>DropDownButton instantiated via javacript:</h3>