This commit is contained in:
Sanj 2011-12-24 15:48:48 +05:30
commit e427bb8973
4 changed files with 46 additions and 0 deletions

13
index.html Normal file
View File

@ -0,0 +1,13 @@
<!doctype html>
<html>
<head>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="oxjs/build/Ox.js"></script>
<script type="text/javascript" src="js/speedtrans.js"></script>
</head>
<body>
foo
</body>
</html>

4
js/jquery-1.7.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
js/jquery.js vendored Symbolic link
View File

@ -0,0 +1 @@
jquery-1.7.1.min.js

28
js/speedtrans.js Normal file
View File

@ -0,0 +1,28 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
(function() {
$(function() {
Ox.load({
UI: {
theme: 'modern' //FIXME: get theme through localStorage
}
}, loadSpeedtrans);
});
function loadSpeedtrans(browserSupported) {
if (!browserSupported) { alert("your browser is not supported"); return; }
initSpeedtrans(); //FIXME: actually call as Ox.App callback
}
function initSpeedtrans(data) {
}
})();