Permalink
Browse files

add Makefile and use seajs

commit d087b5c2c6e021e99572a96c8876a48520ec1bb5
Author: Yuest Wang <yuestwang@gmail.com>
Date:   Fri Apr 13 15:18:17 2012 +0800

    use autoheight

commit 95cbd4d1b80f6c2a48f142326f2ef55f87929f78
Author: Yuest Wang <yuestwang@gmail.com>
Date:   Fri Apr 13 15:12:10 2012 +0800

    use seajs

commit 119fdd72722601ee5bc7c39bc2773c3ed33dcd62
Author: Yuest Wang <yuestwang@gmail.com>
Date:   Tue May 15 13:58:53 2012 +0800

    Makefile
  • Loading branch information...
1 parent c782562 commit 4abbfed357469fc684995c5342d0874351ab1c76 Yuest Wang committed May 15, 2012
Showing with 45 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +27 −0 Makefile
  3. +2 −0 _src/editor_seajs_end.js
  4. +14 −0 _src/editor_seajs_start.js
View
@@ -0,0 +1,2 @@
+ueditor.js
+*.swp
View
@@ -0,0 +1,27 @@
+src = _src/editor_seajs_start.js\
+ _src/core/browser.js\
+ _src/core/utils.js\
+ _src/core/EventBase.js\
+ _src/core/dom/dom.js\
+ _src/core/dom/dtd.js\
+ _src/core/dom/domUtils.js\
+ _src/core/dom/Range.js\
+ _src/core/dom/Selection.js\
+ _src/core/Editor.js\
+ _src/plugins/fiximgclick.js\
+ _src/plugins/removeformat.js\
+ _src/plugins/font.js\
+ _src/plugins/undo.js\
+ _src/plugins/enterkey.js\
+ _src/plugins/basestyle.js\
+ _src/plugins/inserthtml.js\
+ _src/plugins/list.js\
+ _src/plugins/serialize.js\
+ _src/plugins/paste.js\
+ _src/plugins/autoheight.js\
+ _src/editor_seajs_end.js
+
+dafault: concat
+
+concat:
+ cat $(src) | sed 's/\r//' > ueditor.js
View
@@ -0,0 +1,2 @@
+module.exports = UE
+})
View
@@ -0,0 +1,14 @@
+define(function(require, exports, module) {
+var UEDITOR_CONFIG = window.UEDITOR_CONFIG || {};
+
+var baidu = window.baidu || {};
+
+var UE = baidu.editor = {};
+
+UE.plugins = {};
+
+UE.commands = {};
+
+UE.version = "1.2.0.0";
+
+var dom = UE.dom = {};

0 comments on commit 4abbfed

Please sign in to comment.