mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 03:15:16 +00:00
1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
|
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.default = hasClass;\n\nfunction hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);else return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}\n\nmodule.exports = exports[\"default\"];","map":{"version":3,"sources":["/app/node_modules/reactstrap/node_modules/dom-helpers/class/hasClass.js"],"names":["exports","__esModule","default","hasClass","element","className","classList","contains","baseVal","indexOf","module"],"mappings":"AAAA;;AAEAA,OAAO,CAACC,UAAR,GAAqB,IAArB;AACAD,OAAO,CAACE,OAAR,GAAkBC,QAAlB;;AAEA,SAASA,QAAT,CAAkBC,OAAlB,EAA2BC,SAA3B,EAAsC;AACpC,MAAID,OAAO,CAACE,SAAZ,EAAuB,OAAO,CAAC,CAACD,SAAF,IAAeD,OAAO,CAACE,SAAR,CAAkBC,QAAlB,CAA2BF,SAA3B,CAAtB,CAAvB,KAAwF,OAAO,CAAC,OAAOD,OAAO,CAACC,SAAR,CAAkBG,OAAlB,IAA6BJ,OAAO,CAACC,SAA5C,IAAyD,GAA1D,EAA+DI,OAA/D,CAAuE,MAAMJ,SAAN,GAAkB,GAAzF,MAAkG,CAAC,CAA1G;AACzF;;AAEDK,MAAM,CAACV,OAAP,GAAiBA,OAAO,CAAC,SAAD,CAAxB","sourcesContent":["\"use strict\";\n\nexports.__esModule = true;\nexports.default = hasClass;\n\nfunction hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);else return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}\n\nmodule.exports = exports[\"default\"];"]},"metadata":{},"sourceType":"script"}
|