view dom/src/js/css.js @ 32:1dc2fd263b90

Merge
author cin
date Wed, 27 Jun 2018 04:35:04 +0300
parents acdcdf1a8d21
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();
            });
        }
    };
});