XUI Testing

Testing that XUI biddy

HTML

<script src="http://xuijs.com/downloads/xui-2.3.2.min.js"></script>
<button id="button">hey there</button>
<div id="myDiv"></div>

CSS

#myDiv {
    height: 100px;
    width: 200px;
    background: #000;
}

JavaScript

x$( '#button' ).on( 'click', function(e) {
    x$('#myDiv').tween({ width:'100px', backgroundColor:'blue' }, function() {
        alert('done!');
    });
});