mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-03 16:22:52 -06:00
gfse&minibar: fix bug caused by function name clash
+ Function div_id was defined in both editor.js and support.js. Solution: moved the more general version from editor.js to support.js. + Function div_class was defined in both editor.js and support.js. Solution: resolv incompatibility with an argument type test and put the generalized function in support.js.
This commit is contained in:
@@ -1387,8 +1387,6 @@ function touch_edit() {
|
||||
}
|
||||
/* --- DOM Support ---------------------------------------------------------- */
|
||||
|
||||
function div_id(id,cs) { return node("div",{id:id},cs); }
|
||||
function div_class(cls,cs) { return node("div",{"class":cls},cs); }
|
||||
function a(url,linked) { return node("a",{href:url},linked); }
|
||||
function ul(lis) { return node("ul",{},lis); }
|
||||
function li(xs) { return node("li",{},xs); }
|
||||
|
||||
Reference in New Issue
Block a user