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

Function getClass

static/wangEditor/js/lib/jquery-2.2.1.js:7360–7362  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

7358var rclass = /[\t\r\n\f]/g;
7359
7360function getClass( elem ) {
7361 return elem.getAttribute && elem.getAttribute( "class" ) || "";
7362}
7363
7364jQuery.fn.extend( {
7365 addClass: function( value ) {

Callers 1

jquery-2.2.1.jsFile · 0.70

Calls 1

getAttributeMethod · 0.80

Tested by

no test coverage detected