1
0
Fork 0
forked from 0x2620/oxjs

misc fixes

This commit is contained in:
rolux 2011-04-23 02:20:24 +02:00
commit b31339594d
3 changed files with 80 additions and 109 deletions

View file

@ -1,4 +1,6 @@
$(function() {
Ox.UI(function() {
//Ox.UI.ready(function() {
var $body = $('body')
.css({
@ -25,7 +27,7 @@ $(function() {
setBackground($tests, true);
tests(['../build/js/ox.js', '../build/js/ox.data.js']);
tests(['../build/js/ox.js'/*, '../build/js/ox.data.js'*/]);
function tests() {
var succeeded = 0, failed = 0,
@ -117,6 +119,8 @@ $(function() {
});
}
//});
function setBackground($element, success) {
$.each(gradients, function(i, v) {
$element.css({