Skip to content

Commit

Permalink
整理依赖,添加初始化脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
techird committed Jan 13, 2015
1 parent 21622df commit 22bbda7
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 932 deletions.
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
lib/
.idea
.DS_Store
bower_components/
node_modules/
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test",
"tests"
],
"dependencies": {
"devDependencies": {
"seajs": "~2.3.0"
}
}
8 changes: 3 additions & 5 deletions demo.html → demo/dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
<head>
<meta charset="utf-8">
<title>KityMinder Editor - Powered By FEX</title>
<link rel="stylesheet" href="lib/km-core/src/kityminder.css">
<link rel="stylesheet" href="lib/hotbox/hotbox.css">
<link rel="stylesheet" href="kityminder.editor.css">
<link rel="stylesheet" href="../kityminder.editor.css">
<style>
html, body {
margin: 0;
Expand Down Expand Up @@ -39,8 +37,8 @@
<h1>KityMinder Editor - Powered By FEX</h1>
<div id="minder-editor"></div>
</body>
<script src="lib/kity/dist/kity.js"></script>
<script src="lib/seajs/dist/sea-debug.js"></script>
<script src="../lib/kity/dist/kity.js"></script>
<script src="../bower_components/seajs/dist/sea-debug.js"></script>
<script>
/* global seajs */

Expand Down
46 changes: 46 additions & 0 deletions demo/editor.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>KityMinder Editor - Powered By FEX</title>
<link rel="stylesheet" href="../kityminder.editor.css">
<style>
html, body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
line-height: 0;
font-size: 0;
}
h1 {
background: #393F4F;
color: white;
margin: 0;
height: 40px;
font-size: 14px;
line-height: 40px;
font-family: 'STHeiti', 'Hiragino Sans GB', 'Arial', 'Microsoft Yahei';
font-weight: normal;
padding: 0 20px;
}
#minder-editor {
position: absolute;
top: 40px;
left: 0;
right: 0;
bottom: 0;
}
</style>
</head>
<body>
<h1>KityMinder Editor - Powered By FEX</h1>
<div id="minder-editor"></div>
</body>
<script src="../lib/kity/dist/kity.js"></script>
<script src="../kityminder.editor.js"></script>
<script>
/* global KityMinderEditor */
window.editor = new KityMinderEditor('#minder-editor');
</script>
</html>
3 changes: 3 additions & 0 deletions less/editor.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@import (css) "../lib/km-core/src/kityminder"
@import (less) "../lib/hotbox/less/hotbox.less"

.km-editor {
overflow: hidden;
}
Expand Down
30 changes: 0 additions & 30 deletions lib/seajs/.bower.json

This file was deleted.

24 changes: 0 additions & 24 deletions lib/seajs/LICENSE.md

This file was deleted.

19 changes: 0 additions & 19 deletions lib/seajs/bower.json

This file was deleted.

Loading

0 comments on commit 22bbda7

Please sign in to comment.