node hace 6 años
padre
commit
6eeedadc55
Se han modificado 4 ficheros con 11 adiciones y 6 borrados
  1. 5
    0
      README.md
  2. 3
    4
      lib/index.js
  3. 1
    1
      lib/index.js.map
  4. 2
    1
      src/index.js

+ 5
- 0
README.md Ver fichero

@@ -4,3 +4,8 @@
4 4
 
5 5
 
6 6
 
7
+## install
8
+
9
+```
10
+$ npm install git+https://git.links123.net/node/editor.git --save
11
+```

+ 3
- 4
lib/index.js Ver fichero

@@ -3,6 +3,7 @@
3 3
 Object.defineProperty(exports, "__esModule", {
4 4
     value: true
5 5
 });
6
+exports.MarkdownEditor = exports.RichEditor = undefined;
6 7
 
7 8
 var _fontawesomeSvgCore = require('@fortawesome/fontawesome-svg-core');
8 9
 
@@ -30,8 +31,6 @@ _fontawesomeSvgCore.library.add(_freeSolidSvgIcons.faListUl);
30 31
 _fontawesomeSvgCore.library.add(_freeSolidSvgIcons.faListOl);
31 32
 _fontawesomeSvgCore.library.add(_freeSolidSvgIcons.faTasks);
32 33
 
33
-exports.default = {
34
-    RichEditor: _RichEditor2.default,
35
-    MarkdownEditor: _MarkdownEditor2.default
36
-};
34
+exports.RichEditor = _RichEditor2.default;
35
+exports.MarkdownEditor = _MarkdownEditor2.default;
37 36
 //# sourceMappingURL=index.js.map

+ 1
- 1
lib/index.js.map Ver fichero

@@ -1 +1 @@
1
-{"version":3,"sources":["../src/index.js"],"names":["library","add","faBold","faHeading","faItalic","faStrikethrough","faLink","faQuoteRight","faCode","faImage","faListUl","faListOl","faTasks","RichEditor","MarkdownEditor"],"mappings":";;;;;;AAAA;;AACA;;AAaC;;;;AACA;;;;;;AAGDA,4BAAQC,GAAR,CAAYC,yBAAZ;AACAF,4BAAQC,GAAR,CAAYE,4BAAZ;AACAH,4BAAQC,GAAR,CAAYG,2BAAZ;AACAJ,4BAAQC,GAAR,CAAYI,kCAAZ;AACAL,4BAAQC,GAAR,CAAYK,yBAAZ;AACAN,4BAAQC,GAAR,CAAYM,+BAAZ;AACAP,4BAAQC,GAAR,CAAYO,yBAAZ;AACAR,4BAAQC,GAAR,CAAYQ,0BAAZ;AACAT,4BAAQC,GAAR,CAAYS,2BAAZ;AACAV,4BAAQC,GAAR,CAAYU,2BAAZ;AACAX,4BAAQC,GAAR,CAAYW,0BAAZ;;kBAEe;AACbC,oCADa;AAEbC;AAFa,C","file":"index.js","sourcesContent":["import { library } from '@fortawesome/fontawesome-svg-core'\nimport { \n    faBold, \n    faHeading,\n    faItalic,\n    faStrikethrough,\n    faLink,\n    faQuoteRight,\n    faCode,\n    faImage,\n    faListUl,\n    faListOl,\n    faTasks,\n } from '@fortawesome/free-solid-svg-icons'\n import RichEditor from './RichEditor';\n import MarkdownEditor from './MarkdownEditor';\n\n\nlibrary.add(faBold)\nlibrary.add(faHeading)\nlibrary.add(faItalic)\nlibrary.add(faStrikethrough)\nlibrary.add(faLink)\nlibrary.add(faQuoteRight)\nlibrary.add(faCode)\nlibrary.add(faImage)\nlibrary.add(faListUl)\nlibrary.add(faListOl)\nlibrary.add(faTasks)\n\nexport default { \n  RichEditor,\n  MarkdownEditor,\n }\n"]}
1
+{"version":3,"sources":["../src/index.js"],"names":["library","add","faBold","faHeading","faItalic","faStrikethrough","faLink","faQuoteRight","faCode","faImage","faListUl","faListOl","faTasks","RichEditor","MarkdownEditor"],"mappings":";;;;;;;AAAA;;AACA;;AAaC;;;;AACA;;;;;;AAGDA,4BAAQC,GAAR,CAAYC,yBAAZ;AACAF,4BAAQC,GAAR,CAAYE,4BAAZ;AACAH,4BAAQC,GAAR,CAAYG,2BAAZ;AACAJ,4BAAQC,GAAR,CAAYI,kCAAZ;AACAL,4BAAQC,GAAR,CAAYK,yBAAZ;AACAN,4BAAQC,GAAR,CAAYM,+BAAZ;AACAP,4BAAQC,GAAR,CAAYO,yBAAZ;AACAR,4BAAQC,GAAR,CAAYQ,0BAAZ;AACAT,4BAAQC,GAAR,CAAYS,2BAAZ;AACAV,4BAAQC,GAAR,CAAYU,2BAAZ;AACAX,4BAAQC,GAAR,CAAYW,0BAAZ;;QAIEC,U,GAAAA,oB;QACAC,c,GAAAA,wB","file":"index.js","sourcesContent":["import { library } from '@fortawesome/fontawesome-svg-core'\nimport { \n    faBold, \n    faHeading,\n    faItalic,\n    faStrikethrough,\n    faLink,\n    faQuoteRight,\n    faCode,\n    faImage,\n    faListUl,\n    faListOl,\n    faTasks,\n } from '@fortawesome/free-solid-svg-icons'\n import RichEditor from './RichEditor';\n import MarkdownEditor from './MarkdownEditor';\n\n\nlibrary.add(faBold)\nlibrary.add(faHeading)\nlibrary.add(faItalic)\nlibrary.add(faStrikethrough)\nlibrary.add(faLink)\nlibrary.add(faQuoteRight)\nlibrary.add(faCode)\nlibrary.add(faImage)\nlibrary.add(faListUl)\nlibrary.add(faListOl)\nlibrary.add(faTasks)\n\n\nexport { \n  RichEditor,\n  MarkdownEditor,\n }\n"]}

+ 2
- 1
src/index.js Ver fichero

@@ -28,7 +28,8 @@ library.add(faListUl)
28 28
 library.add(faListOl)
29 29
 library.add(faTasks)
30 30
 
31
-export default { 
31
+
32
+export { 
32 33
   RichEditor,
33 34
   MarkdownEditor,
34 35
  }