MCPcopy Create free account
hub / github.com/TruthHun/BookStack / check

Function check

static/wangEditor/js/wangEditor.js:3598–3603  ·  view source on GitHub ↗
(menuId)

Source from the content-addressed store, hash-verified

3596
3597 // 检验 menuId 是否在配置中存在
3598 function check(menuId) {
3599 if (menuIds.indexOf(menuId) >= 0) {
3600 return true;
3601 }
3602 return false;
3603 }
3604
3605 // 遍历所有的菜单创建函数,并执行
3606 $.each(E.createMenuFns, function (k, createMenuFn) {

Callers 5

wangEditor.jsFile · 0.70
release-menu.jsFile · 0.50
save-menu.jsFile · 0.50
history-menu.jsFile · 0.50
attach-menu.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected