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
build/js
build/js/*

View file

@ -4,10 +4,8 @@
<title>ox.js list demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<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/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="js/list.js"></script>
</head>
<body></body>
</html>
</html>

View file

@ -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'));
});
});

View file

@ -4,10 +4,8 @@
<title>OxJS Mouse Events Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<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/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="js/mouse.js"></script>
</head>
<body></body>
</html>
</html>

View file

@ -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);
});
});
});
});

View file

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

View file

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

View file

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

View file

@ -3,9 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<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/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body>

View file

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

View file

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

View file

@ -5,10 +5,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="list.css"/>
<script type="text/javascript" src="../../build/js/jquery-1.4.2.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="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="list.js"></script>
</head>
<body></body>
</html>
</html>

View file

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

View file

@ -3,9 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<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/ox.js"></script>
<script type="text/javascript" src="../../build/js/ox.ui.js"></script>
<script type="text/javascript" src="../../build/js/OxUI.js"></script>
<script type="text/javascript" src="menu.js"></script>
</head>
<body></body>

View file

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

View file

@ -6,9 +6,8 @@
<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/ox.js"></script>
<script type="text/javascript" src="../build/js/ox.ui.js"></script>
<script type="text/javascript" src="../build/js/jquery.js"></script>
<script type="text/javascript" src="../build/js/OxUI.js"></script>
<script type="text/javascript" src="api.js"></script>
</head>
<body>