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

Function addHandle

static/wangEditor/js/lib/jquery-2.2.1.js:922–929  ·  view source on GitHub ↗

* Adds the same handler for all of the specified attrs * @param {String} attrs Pipe-separated list of attributes * @param {Function} handler The method that will be applied

( attrs, handler )

Source from the content-addressed store, hash-verified

920 * @param {Function} handler The method that will be applied
921 */
922function addHandle( attrs, handler ) {
923 var arr = attrs.split("|"),
924 i = arr.length;
925
926 while ( i-- ) {
927 Expr.attrHandle[ arr[i] ] = handler;
928 }
929}
930
931/**
932 * Checks document order of two siblings

Callers 1

jquery-2.2.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected