File tree Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 6969
7070 const {script , html , style } = this .jsfiddle ;
7171
72- const scriptTpl = ' <script src="//unpkg.com/vue/dist/vue.js"></scr' + ' ipt>' +
73- ' \n <scr' + ` ipt src="//unpkg.com/vue-easytable/umd/js/index.js"></scr` + ' ipt>' ;
72+ const scriptTpl = [
73+ ' <script src="//unpkg.com/vue/dist/vue.js"></scr' + ' ipt>' ,
74+ ' <script src="//unpkg.com/vue-easytable/umd/js/index.js"></scr' + ' ipt>' ,
75+ ].join (' \n ' );
7476
7577 let jsTpl = (script || ' ' ).replace (/ export default/ , ' var Main =' ).replace (/ import Vue from 'vue'/ ,' ' ).trim ();
7678
8688 panel_css: 1
8789 };
8890
89-
90- /* const resourcesTpl = '<script src="//unpkg.com/vue/dist/vue.js"></scr' + 'ipt>' +
91- '\n<scr' + `ipt src="//unpkg.com/element-ui@${ version }/lib/index.js"></scr` + 'ipt>';
92- let jsTpl = (script || '').replace(/export default/, 'var Main =').trim();
93- let htmlTpl = `${resourcesTpl}\n<div id="app">\n${html.trim()}\n</div>`;
94- let cssTpl = `@import url("//unpkg.com/element-ui@${ version }/lib/theme-default/index.css");\n${(style || '').trim()}\n`;
95- jsTpl = jsTpl
96- ? jsTpl + '\nvar Ctor = Vue.extend(Main)\nnew Ctor().$mount(\'#app\')'
97- : 'new Vue().$mount(\'#app\')';
98- const data = {
99- js: jsTpl,
100- css: cssTpl,
101- html: htmlTpl,
102- panel_js: 3,
103- panel_css: 1
104- };*/
10591 const form = document .getElementById (' fiddle-form' ) || document .createElement (' form' );
10692 form .innerHTML = ' ' ;
10793 const node = document .createElement (' textarea' );
Original file line number Diff line number Diff line change @@ -613,7 +613,7 @@ code {
613613 margin-top : 20px ;
614614 margin-bottom : 50px ;
615615 border-top : 1px dotted # e9e9e9 ;
616- border-bottom : 1px solid # e9e9e9 ;
616+ /* border-bottom: 1px solid #e9e9e9;*/
617617 position : relative;
618618}
619619
@@ -624,10 +624,12 @@ code {
624624 cursor : pointer;
625625 color : # 9dbbff ;
626626 font-size : 14px ;
627+ border-bottom : 1px solid # e9e9e9 ;
627628}
628629
629630.example-codeHighlight-showCode : hover {
630631 color : # 578afd ;
632+ box-shadow : 0 4px 6px -6px # 555 ;
631633}
632634
633635.example-codeHighlight-tools {
You can’t perform that action at this time.
0 commit comments