Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ emptyFn
Function
emptyFn
static/wangEditor/js/wangEditor.js:255–255 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
253
// 用到 w3c range 的函数,如果检测到浏览器不支持 w3c range,则赋值为空函数
254
var
ieRange = !E.w3cRange;
255
function
emptyFn() {}
256
257
// 设置或读取当前的range
258
E.fn.currentRange =
function
(cr){
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected