clean up documents
|
@ -201,7 +201,7 @@
|
|||
}, "#alertContainer")
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<body>
|
||||
<div id="container"></div>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../asset/arttemplate.js"></script>
|
||||
<script src="asset/arttemplate.js"></script>
|
||||
<script>
|
||||
Nuclear.render=function(tpl,data){
|
||||
return template.compile(tpl)(data);
|
||||
|
@ -32,7 +32,7 @@
|
|||
},"#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Drag</title>
|
||||
<link href="../asset/demo.css" rel="stylesheet" />
|
||||
<link href="asset/demo.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -103,7 +103,7 @@
|
|||
})
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Drag</title>
|
||||
<link href="../asset/demo.css" rel="stylesheet" />
|
||||
<link href="asset/demo.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
|||
<div class="dragger3" id="dragger3"></div>
|
||||
</div>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../asset/zepto.min.js"></script>
|
||||
<script src="asset/zepto.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var Drag = Nuclear.createAction({
|
||||
|
@ -103,7 +103,7 @@
|
|||
})
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
|
@ -24,8 +24,8 @@
|
|||
<div class="nuclear-layout-center">center</div>
|
||||
</div>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../asset/drag.js"></script>
|
||||
<script src="../asset/layout.js"></script>
|
||||
<script src="asset/drag.js"></script>
|
||||
<script src="asset/layout.js"></script>
|
||||
<script>
|
||||
|
||||
new Layout({
|
||||
|
@ -39,7 +39,7 @@
|
|||
</script>
|
||||
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
|
@ -134,7 +134,7 @@
|
|||
</script>
|
||||
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
@ -118,7 +118,7 @@
|
|||
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
<body>
|
||||
<div id="carouselContainer"></div>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../asset/zepto.min.js"></script>
|
||||
<script src="asset/zepto.min.js"></script>
|
||||
<script>
|
||||
var Carousel = Nuclear.create({
|
||||
installed: function () {
|
||||
|
@ -84,7 +84,7 @@
|
|||
}
|
||||
});
|
||||
new Carousel({
|
||||
imgs: [{url:"../asset/room.jpg" }, {url:"../asset/sleep.jpg"}, {url:"../asset/watch.jpg"}],
|
||||
imgs: [{url:"asset/room.jpg" }, {url:"asset/sleep.jpg"}, {url:"asset/watch.jpg"}],
|
||||
index: 0
|
||||
}, "#carouselContainer");
|
||||
</script>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
new HelloMessage({ name: "Nuclear" }, "#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
});
|
||||
|
||||
new Test({
|
||||
imgs: [{url:"../asset/room.jpg",name:'dntzhang' }, {url:"../asset/sleep.jpg",name:'zhangdnt'}, {url:"../asset/watch.jpg",name:'zhanglei'}],
|
||||
imgs: [{url:"asset/room.jpg",name:'dntzhang' }, {url:"asset/sleep.jpg",name:'zhangdnt'}, {url:"asset/watch.jpg",name:'zhanglei'}],
|
||||
}, "#container");
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
new TodoList({ items: ["aaa", "bbb", "ccc"] }, "#todo2Container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<body>
|
||||
<div id="container"></div>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../asset/marked.min.js"></script>
|
||||
<script src="asset/marked.min.js"></script>
|
||||
<script>
|
||||
var MarkdownEditor = Nuclear.create({
|
||||
install: function () {
|
||||
|
@ -31,7 +31,7 @@
|
|||
new MarkdownEditor({ value: 'Type some *markdown* here!', html: '' }, "#container")
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<body>
|
||||
<div id="container"></div>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../asset/marked.min.js"></script>
|
||||
<script src="asset/marked.min.js"></script>
|
||||
<script>
|
||||
var MarkdownEditor = Nuclear.create({
|
||||
install: function () {
|
||||
|
@ -48,7 +48,7 @@
|
|||
new MDEContainer({ value: 'Type some *markdown* here!', html: '' },"#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<body>
|
||||
<div id="container"></div>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../asset/marked.min.js"></script>
|
||||
<script src="asset/marked.min.js"></script>
|
||||
<script>
|
||||
var HelloMessage = Nuclear.create({
|
||||
render: function () {
|
||||
|
@ -57,7 +57,7 @@
|
|||
new MDEContainer({ value: 'Type some *markdown* here!', html: '', name: "Nuclear" },"#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
new Marquee({ width: 480, left: 480, content: "张三中了 笔记本电脑 李四中了 苹果手机 王五中了 QQ靓号 孙六中了 马尔代夫双人游 " }, "#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
new Hello({ value: "嵌套", width: 480, left: 480, content: "张三中了 笔记本电脑 李四中了 苹果手机 王五中了 QQ靓号 孙六中了 马尔代夫双人游 " }, "#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<body style="height:3000px;">
|
||||
<div id="container"></div>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../asset/zepto.min.js"></script>
|
||||
<script src="asset/zepto.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
var Nav = Nuclear.create({
|
||||
install:function(){
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
}, "#paginationContainer");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
var progress2 = new Progress({ value: 0.6, displayNumber: false },"#progressContainer2");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
ta.option.h3Color="yellow";
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<body>
|
||||
<div id="tabContainer"></div>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../asset/util.js"></script>
|
||||
<script src="asset/util.js"></script>
|
||||
<script type="text/javascript">
|
||||
var Tab = Nuclear.create({
|
||||
onRefresh: function () {
|
||||
|
@ -71,7 +71,7 @@
|
|||
new Tab({ tabs: [{ title: "tab-1", content: "tab1-content" }, { title: "tab-2", content: '<a href="##">tab2-content</a>'}, { title: "tab-3", content: "<em>tab3-content</em>" }], selectedIndex: 0 }, "#tabContainer");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<body>
|
||||
<div id="tabContainer"></div>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../asset/util.js"></script>
|
||||
<script src="asset/util.js"></script>
|
||||
<script type="text/javascript">
|
||||
var Tab = Nuclear.create({
|
||||
install: function () {
|
||||
|
@ -115,7 +115,7 @@
|
|||
var tab= new Tab({ tabs: [{ title: "tab-1", content: "" }, { title: "tab-2", content: "" }, { title: "tab-3", content: "tab3-content" }], selectedIndex: 0 }, "#tabContainer");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>QUnit Example</title>
|
||||
<link rel="stylesheet" href="../asset/qunit-1.23.1.css">
|
||||
<link rel="stylesheet" href="asset/qunit-1.23.1.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="qunit"></div>
|
||||
|
@ -20,8 +20,8 @@
|
|||
</div>
|
||||
|
||||
<div id="qunit-fixture"></div>
|
||||
<script src="../asset/qunit-1.23.1.js"></script>
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="asset/qunit-1.23.1.js"></script>
|
||||
<script src="../../dist/nuclear.js"></script>
|
||||
<script src="polyfill.js"></script>
|
||||
|
||||
<script>
|
|
@ -9,7 +9,7 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../../dist/nuclear.js"></script>
|
||||
<script>
|
||||
var A=Nuclear.create({
|
||||
install:function(){
|
|
@ -9,7 +9,7 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<script src="../dist/nuclear.js"></script>
|
||||
<script src="../../dist/nuclear.js"></script>
|
||||
<script>
|
||||
var A=Nuclear.create({
|
||||
install:function(){
|
|
@ -26,7 +26,7 @@
|
|||
new Timer({ secondsElapsed: 0 },"#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
new TodoApp( {value:"", items: [] },"#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
new TodoApp( { items: [] },"#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
new TodoApp( { items: [] },"#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
new TodoApp( { items: [] ,value:""},"#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
new TodoApp({ items: [] },"#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
new TodoApp( { items: [] },"#container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
new TodoApp( {},"#todo2Container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
new TodoApp({}, "#todo2Container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
new TodoApp({}, "#todo2Container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
todo.setNuclearContainer('#container');
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
new TodoApp( {inputValue:""},"#todo2Container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
new TodoApp( {inputValue:""},"#todo2Container");
|
||||
</script>
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
</script>
|
||||
|
||||
<a href="https://github.com/AlloyTeam/Nuclear" target="_blank" style="position: absolute; right: 0; top: 0;">
|
||||
<img src="../asset/github.png" alt="" />
|
||||
<img src="asset/github.png" alt="" />
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
|
|