new import path

This commit is contained in:
j 2011-04-23 01:07:55 +02:00
parent 32f3a200ba
commit 840eadf914
16 changed files with 32 additions and 50 deletions

View file

@ -1,2 +1,2 @@
.DS_Store .DS_Store
build/js build/js/*

View file

@ -4,10 +4,8 @@
<title>ox.js list demo</title> <title>ox.js list demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/> <link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/>
<script type="text/javascript" src="../../build/js/jquery-1.4.2.js"></script> <script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="../../build/js/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script type="text/javascript" src="js/list.js"></script> <script type="text/javascript" src="js/list.js"></script>
</head> </head>
<body></body> <body></body>
</html> </html>

View file

@ -1,4 +1,4 @@
$(function() { Ox.UI(function() {
Ox.theme('modern'); Ox.theme('modern');
@ -42,7 +42,7 @@ $(function() {
}) })
.bindEvent({ .bindEvent({
click: function() { click: function() {
$text.html(JSON.stringify($treeList.$element.options('items'))) $text.html(JSON.stringify($treeList.$element.options('items')));
} }
}) })
.appendTo($debug), .appendTo($debug),
@ -60,4 +60,4 @@ $(function() {
orientation: 'horizontal' orientation: 'horizontal'
}).appendTo($('body')); }).appendTo($('body'));
}); });

View file

@ -4,10 +4,8 @@
<title>OxJS Mouse Events Demo</title> <title>OxJS Mouse Events Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/> <link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/>
<script type="text/javascript" src="../../build/js/jquery-1.5.js"></script> <script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="../../build/js/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script type="text/javascript" src="js/mouse.js"></script> <script type="text/javascript" src="js/mouse.js"></script>
</head> </head>
<body></body> <body></body>
</html> </html>

View file

@ -1,4 +1,4 @@
$(function() { Ox.UI(function() {
var $target = Ox.Element() var $target = Ox.Element()
.css({ .css({
position: 'absolute', position: 'absolute',
@ -54,4 +54,4 @@ $(function() {
event == 'anyclick' && Ox.print(e); event == 'anyclick' && Ox.print(e);
}); });
}); });
}); });

View file

@ -4,8 +4,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style> <style>
</style> </style>
<script type="text/javascript" src="../../build/js/jquery-1.3.2.js"></script> <script type="text/javascript" src="../../build/js/jquery.js"></script>
<script type="text/javascript" src="../../build/js/ox.js"></script> <script type="text/javascript" src="../../build/js/Ox.js"></script>
<script type="text/javascript" src="ox.png.js"></script> <script type="text/javascript" src="ox.png.js"></script>
<script> <script>
$(function() { $(function() {
@ -19,4 +19,4 @@
</script> </script>
</head> </head>
<body></body> <body></body>
</html> </html>

View file

@ -4,11 +4,9 @@
<title>ox.js SplitPanel Demo</title> <title>ox.js SplitPanel Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/> <link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/>
<script type="text/javascript" src="../../build/js/jquery-1.4.2.js"></script> <script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="../../build/js/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script> <script>
$(function() { Ox.UI(function() {
new Ox.SplitPanel({ new Ox.SplitPanel({
elements: [ elements: [
{ {
@ -82,4 +80,4 @@
</script> </script>
</head> </head>
<body></body> <body></body>
</html> </html>

View file

@ -4,12 +4,9 @@
<title>OxJS SplitPanel Demo</title> <title>OxJS SplitPanel Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/> <link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/>
<script type="text/javascript" src="../../build/js/jquery-1.5.js"></script> <script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="../../build/js/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.map.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script> <script>
$(function() { Ox.UI(function() {
function element(options, css) { function element(options, css) {
return Ox.extend({ return Ox.extend({
element: Ox.Element().html(JSON.stringify(options)) element: Ox.Element().html(JSON.stringify(options))
@ -134,4 +131,4 @@
</script> </script>
</head> </head>
<body></body> <body></body>
</html> </html>

View file

@ -3,9 +3,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/> <link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/>
<script type="text/javascript" src="../../build/js/jquery-1.4.js"></script> <script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="../../build/js/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script type="text/javascript" src="app.js"></script> <script type="text/javascript" src="app.js"></script>
</head> </head>
<body> <body>

View file

@ -1,4 +1,4 @@
$(function() { Ox.UI(function() {
var app = new Ox.App({ var app = new Ox.App({
requestURL: "http://blackbook.local:8000/api/" requestURL: "http://blackbook.local:8000/api/"
}), }),

View file

@ -30,11 +30,9 @@
padding: 0 4px 0 4px; padding: 0 4px 0 4px;
} }
</style> </style>
<script type="text/javascript" src="../../build/js/jquery-1.4.js"></script> <script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="../../build/js/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script> <script>
$(function() { Ox.UI(function() {
var size = window.location.hash.substr(1) || "medium", var size = window.location.hash.substr(1) || "medium",
$body = $("body"), $body = $("body"),
$toolbars = []; $toolbars = [];
@ -594,4 +592,4 @@
</script> </script>
</head> </head>
<body></body> <body></body>
</html> </html>

View file

@ -5,10 +5,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/> <link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/>
<link rel="stylesheet" type="text/css" href="list.css"/> <link rel="stylesheet" type="text/css" href="list.css"/>
<script type="text/javascript" src="../../build/js/jquery-1.4.2.js"></script> <script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="../../build/js/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script type="text/javascript" src="list.js"></script> <script type="text/javascript" src="list.js"></script>
</head> </head>
<body></body> <body></body>
</html> </html>

View file

@ -1,4 +1,4 @@
$(function() { Ox.UI(function() {
Ox.theme("modern"); Ox.theme("modern");
var $body = $("body"), var $body = $("body"),
$document = $(document), $document = $(document),

View file

@ -3,9 +3,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/> <link rel="stylesheet" type="text/css" href="../../build/css/ox.ui.css"/>
<script type="text/javascript" src="../../build/js/jquery-1.4.1.js"></script> <script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="../../build/js/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script type="text/javascript" src="menu.js"></script> <script type="text/javascript" src="menu.js"></script>
</head> </head>
<body></body> <body></body>

View file

@ -1,4 +1,4 @@
$(function() { Ox.UI(function() {
var button = new Ox.Button({ var button = new Ox.Button({
value: "First", value: "First",
}).css({ }).css({
@ -147,4 +147,4 @@ $(function() {
$("<option>").html(v) $("<option>").html(v)
); );
}); });
}); });

View file

@ -6,9 +6,8 @@
<link rel="stylesheet" type="text/css" href="../build/css/ox.ui.css"/> <link rel="stylesheet" type="text/css" href="../build/css/ox.ui.css"/>
<script type="text/javascript" src="../build/js/jquery-1.4.2.js"></script> <script type="text/javascript" src="../build/js/jquery.js"></script>
<script type="text/javascript" src="../build/js/ox.js"></script> <script type="text/javascript" src="../build/js/OxUI.js"></script>
<script type="text/javascript" src="../build/js/ox.ui.js"></script>
<script type="text/javascript" src="api.js"></script> <script type="text/javascript" src="api.js"></script>
</head> </head>
<body> <body>