Skip to content

Commit e6ccb2f

Browse files
save file
1 parent b792e2e commit e6ccb2f

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

utils/editors/html-editor/html/output-html/v2.0/output-html-v2.0.html

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,18 @@
4040
var obj = {
4141
version : 'v2.0',
4242
};
43-
44-
var ext,$;
43+
var df=false,did='output-html'
44+
;
45+
46+
47+
48+
var ext,$
49+
;
4550

4651
obj.initmod=function(params){
4752

48-
ext = params.ext;
49-
$ = params.$;
53+
ext = mod.rd(params,'ext',ext);
54+
$ = mod.rd(params,'$',$);
5055

5156
}//initmod
5257

@@ -149,6 +154,22 @@
149154
}//kill
150155

151156

157+
//:
158+
159+
160+
function debug(...args){
161+
162+
if(!df && !obj.df)return;
163+
args.unshift(`[ ${did} ]`);
164+
var fmt = Array.from({length:args.length}).fill('%O').join(' ');
165+
var args2 = [fmt].concat(args);
166+
console.groupCollapsed.apply(console,args2);
167+
console.trace();
168+
console.groupEnd();
169+
170+
}//debug
171+
172+
152173

153174

154175
return obj;

0 commit comments

Comments
 (0)