Mercurial > pub > ImplabJs
diff dom/src/js/css.js @ 34:27e8e9e38e07 default tip
Слияние
author | nickolay |
---|---|
date | Wed, 05 Jun 2019 20:44:15 +0300 |
parents | acdcdf1a8d21 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/src/js/css.js Wed Jun 05 20:44:15 2019 +0300 @@ -0,0 +1,10 @@ +define(["./inject"], function (inject) { + return { + load: function (id, require, cb) { + var url = require.toUrl(id); + inject.injectStylesheet(url).then(function () { + cb(); + }); + } + }; +}); \ No newline at end of file