diff --git a/.bzrignore b/.bzrignore index a3c39f02..947f0057 100644 --- a/.bzrignore +++ b/.bzrignore @@ -1,2 +1,2 @@ .DS_Store -build/js +build/js/* diff --git a/demos/list/index.html b/demos/list/index.html index 82e653e1..32080562 100644 --- a/demos/list/index.html +++ b/demos/list/index.html @@ -4,10 +4,8 @@ ox.js list demo - - - + - \ No newline at end of file + diff --git a/demos/list/js/list.js b/demos/list/js/list.js index eeafcb32..47512bd3 100644 --- a/demos/list/js/list.js +++ b/demos/list/js/list.js @@ -1,4 +1,4 @@ -$(function() { +Ox.UI(function() { Ox.theme('modern'); @@ -42,7 +42,7 @@ $(function() { }) .bindEvent({ click: function() { - $text.html(JSON.stringify($treeList.$element.options('items'))) + $text.html(JSON.stringify($treeList.$element.options('items'))); } }) .appendTo($debug), @@ -60,4 +60,4 @@ $(function() { orientation: 'horizontal' }).appendTo($('body')); -}); \ No newline at end of file +}); diff --git a/demos/mouse/index.html b/demos/mouse/index.html index 4b25b260..b6085562 100644 --- a/demos/mouse/index.html +++ b/demos/mouse/index.html @@ -4,10 +4,8 @@ OxJS Mouse Events Demo - - - + - \ No newline at end of file + diff --git a/demos/mouse/js/mouse.js b/demos/mouse/js/mouse.js index d2e60c75..62da972d 100644 --- a/demos/mouse/js/mouse.js +++ b/demos/mouse/js/mouse.js @@ -1,4 +1,4 @@ -$(function() { +Ox.UI(function() { var $target = Ox.Element() .css({ position: 'absolute', @@ -54,4 +54,4 @@ $(function() { event == 'anyclick' && Ox.print(e); }); }); -}); \ No newline at end of file +}); diff --git a/demos/png/index.html b/demos/png/index.html index 149d1f13..5db29236 100644 --- a/demos/png/index.html +++ b/demos/png/index.html @@ -4,8 +4,8 @@ - - + + - \ No newline at end of file + diff --git a/demos/splitpanel/index.html b/demos/splitpanel/index.html index 2326c9b0..d4b74932 100644 --- a/demos/splitpanel/index.html +++ b/demos/splitpanel/index.html @@ -4,11 +4,9 @@ ox.js SplitPanel Demo - - - + - \ No newline at end of file + diff --git a/demos/splitpanel2/index.html b/demos/splitpanel2/index.html index 11a5c582..7da3090a 100644 --- a/demos/splitpanel2/index.html +++ b/demos/splitpanel2/index.html @@ -4,12 +4,9 @@ OxJS SplitPanel Demo - - - - + - \ No newline at end of file + diff --git a/demos/test/app.html b/demos/test/app.html index fae46439..3c654b33 100644 --- a/demos/test/app.html +++ b/demos/test/app.html @@ -3,9 +3,7 @@ - - - + diff --git a/demos/test/app.js b/demos/test/app.js index 905b0134..fb24f9f0 100644 --- a/demos/test/app.js +++ b/demos/test/app.js @@ -1,4 +1,4 @@ -$(function() { +Ox.UI(function() { var app = new Ox.App({ requestURL: "http://blackbook.local:8000/api/" }), diff --git a/demos/test/index.html b/demos/test/index.html index 7008d270..c5c1d049 100644 --- a/demos/test/index.html +++ b/demos/test/index.html @@ -30,11 +30,9 @@ padding: 0 4px 0 4px; } - - - + - \ No newline at end of file + diff --git a/demos/test/list.html b/demos/test/list.html index f7b28d88..d23034e1 100644 --- a/demos/test/list.html +++ b/demos/test/list.html @@ -5,10 +5,8 @@ - - - + - \ No newline at end of file + diff --git a/demos/test/list.js b/demos/test/list.js index ce250ec8..1ad65c81 100644 --- a/demos/test/list.js +++ b/demos/test/list.js @@ -1,4 +1,4 @@ -$(function() { +Ox.UI(function() { Ox.theme("modern"); var $body = $("body"), $document = $(document), diff --git a/demos/test/menu.html b/demos/test/menu.html index f3048ad7..6051602b 100644 --- a/demos/test/menu.html +++ b/demos/test/menu.html @@ -3,9 +3,7 @@ - - - + diff --git a/demos/test/menu.js b/demos/test/menu.js index 60819522..38803d32 100644 --- a/demos/test/menu.js +++ b/demos/test/menu.js @@ -1,4 +1,4 @@ -$(function() { +Ox.UI(function() { var button = new Ox.Button({ value: "First", }).css({ @@ -147,4 +147,4 @@ $(function() { $("