annotate dom/src/js/css.js @ 34:27e8e9e38e07 default tip

Слияние
author nickolay
date Wed, 05 Jun 2019 20:44:15 +0300
parents acdcdf1a8d21
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25
c2a7d21175ce Added css injection plugin, implab/dom/css!<css-path>
cin
parents:
diff changeset
1 define(["./inject"], function (inject) {
c2a7d21175ce Added css injection plugin, implab/dom/css!<css-path>
cin
parents:
diff changeset
2 return {
c2a7d21175ce Added css injection plugin, implab/dom/css!<css-path>
cin
parents:
diff changeset
3 load: function (id, require, cb) {
c2a7d21175ce Added css injection plugin, implab/dom/css!<css-path>
cin
parents:
diff changeset
4 var url = require.toUrl(id);
c2a7d21175ce Added css injection plugin, implab/dom/css!<css-path>
cin
parents:
diff changeset
5 inject.injectStylesheet(url).then(function () {
c2a7d21175ce Added css injection plugin, implab/dom/css!<css-path>
cin
parents:
diff changeset
6 cb();
c2a7d21175ce Added css injection plugin, implab/dom/css!<css-path>
cin
parents:
diff changeset
7 });
c2a7d21175ce Added css injection plugin, implab/dom/css!<css-path>
cin
parents:
diff changeset
8 }
c2a7d21175ce Added css injection plugin, implab/dom/css!<css-path>
cin
parents:
diff changeset
9 };
c2a7d21175ce Added css injection plugin, implab/dom/css!<css-path>
cin
parents:
diff changeset
10 });