add docco-style Ox.SourceViewer, Ox.ExamplePage and Ox.ExamplePanel, and a demo
This commit is contained in:
parent
7b7bedb65a
commit
ef0e161ab0
16 changed files with 224002 additions and 3 deletions
31
demos/examplepanel/index.html
Normal file
31
demos/examplepanel/index.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>OxJS ExamplePanel Demo</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<script type="text/javascript" src="../../dev/Ox.js"></script>
|
||||
<script>
|
||||
Ox.load('UI', function() {
|
||||
///*
|
||||
Ox.ExamplePanel({
|
||||
examples: ['cities'],
|
||||
path: Ox.PATH + '../examples/',
|
||||
replace: [[/\b(Ox[\.\w]+)\b/g, '<b>$1</b>']]
|
||||
})
|
||||
.appendTo(Ox.$body);
|
||||
//*/
|
||||
/*
|
||||
Ox.ExamplePage({
|
||||
height: window.innerHeight,
|
||||
html: Ox.PATH + '../examples/cities/index.html',
|
||||
js: Ox.PATH + '../examples/cities/js/example.js',
|
||||
title: 'Cities',
|
||||
width: window.innerWidth
|
||||
})
|
||||
.appendTo(Ox.$body);
|
||||
*/
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue