(obj)
| 42 | const typePattern = /^text\/(x-)?less$/; |
| 43 | |
| 44 | function clone(obj) { |
| 45 | const cloned = {}; |
| 46 | for (const prop in obj) { |
| 47 | if (Object.prototype.hasOwnProperty.call(obj, prop)) { |
| 48 | cloned[prop] = obj[prop]; |
| 49 | } |
| 50 | } |
| 51 | return cloned; |
| 52 | } |
| 53 | |
| 54 | function loadStyles(modifyVars) { |
| 55 | const styles = document.getElementsByTagName('style'); |
no test coverage detected