Mercurial Hosting > sceditor
annotate src/icons/famfamfam.js @ 29:ea32a44b5a6e
remove more oo
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 11 Aug 2022 19:54:03 -0600 |
parents | 8d32537e0ca7 |
children |
rev | line source |
---|---|
9 | 1 (function (document, sceditor) { |
2 'use strict'; | |
3 | |
4 let baseUrl = document.currentScript.getAttribute('src').match(/.*\//)[0]; | |
13 | 5 let cssUrl = baseUrl + 'famfamfam/famfamfam.css'; |
6 let html = '<style>@import "' + cssUrl + '";</style>'; | |
7 document.head.insertAdjacentHTML('beforeend',html); | |
8 sceditor.icons = {}; | |
9 | 9 })(document, sceditor); |