view dom/src/js/css.js @ 29:acdcdf1a8d21

repository reorganized
author cin
date Tue, 26 Jun 2018 19:35:44 +0300
parents src/implab/dom/css.js@c2a7d21175ce
children
line wrap: on
line source

define(["./inject"], function (inject) {
    return {
        load: function (id, require, cb) {
            var url = require.toUrl(id);
            inject.injectStylesheet(url).then(function () {
                cb();
            });
        }
    };
});