Файл: templates/backend/default/assets/plugins/jquery-ricksaw-chart/js/Rickshaw.Compat.ClassList.min.js
Строк: 95
<?php
Rickshaw.namespace("Rickshaw.Compat.ClassList"),Rickshaw.Compat.ClassList=function(){"undefined"==typeof document||"classList"in document.createElement("a")||function(l){"use strict";var e="classList",t="prototype",n=(l.HTMLElement||l.Element)[t],i=Object,o=String[t].trim||function(){return this.replace(/^s+|s+$/g,"")},a=Array[t].indexOf||function(l){for(var e=0,t=this.length;t>e;e++)if(e in this&&this[e]===l)return e;return-1},r=function(l,e){this.name=l,this.code=DOMException[l],this.message=e},s=function(l,e){if(""===e)throw new r("SYNTAX_ERR","An invalid or illegal string was specified");if(/s/.test(e))throw new r("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(l,e)},c=function(l){for(var e=o.call(l.className),t=e?e.split(/s+/):[],n=0,i=t.length;i>n;n++)this.push(t[n]);this._updateClassName=function(){l.className=this.toString()}},u=c[t]=[],d=function(){return new c(this)};if(r[t]=Error[t],u.item=function(l){return this[l]||null},u.contains=function(l){return l+="",-1!==s(this,l)},u.add=function(l){l+="",-1===s(this,l)&&(this.push(l),this._updateClassName())},u.remove=function(l){l+="";var e=s(this,l);-1!==e&&(this.splice(e,1),this._updateClassName())},u.toggle=function(l){l+="",-1===s(this,l)?this.add(l):this.remove(l)},u.toString=function(){return this.join(" ")},i.defineProperty){var h={get:d,enumerable:!0,configurable:!0};try{i.defineProperty(n,e,h)}catch(f){-2146823252===f.number&&(h.enumerable=!1,i.defineProperty(n,e,h))}}else i[t].__defineGetter__&&n.__defineGetter__(e,d)}(window)},("undefined"!=typeof RICKSHAW_NO_COMPAT&&!RICKSHAW_NO_COMPAT||"undefined"==typeof RICKSHAW_NO_COMPAT)&&new Rickshaw.Compat.ClassList;
?>