added js
This commit is contained in:
commit
e427bb8973
13
index.html
Normal file
13
index.html
Normal 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
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
1
js/jquery.js
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
jquery-1.7.1.min.js
|
28
js/speedtrans.js
Normal file
28
js/speedtrans.js
Normal 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) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user