1 2 3 4 5 6 7 8 9 10 11 12 13
define([ 'humane' ], function(humane) { var themePath = 'js/humane/libnotify.css'; var style = document.createElement('link'); style.rel = 'stylesheet'; style.type = 'text/css'; style.href = themePath; document.querySelector('head').appendChild(style); return humane; });