##// END OF EJS Templates
Testing nested watch, release candidate
Testing nested watch, release candidate

File last commit:

r65:8ac132c83639 default
r101:bb6b1db1b430 v1.3
Show More
css.ts
18 lines | 455 B | video/mp2t | TypeScriptLexer
cin
Converted to subproject djx, removed dojo-typings
r65 import inject from "./dom-inject";
interface OnLoad {
(result?: any): void;
error(err: any): void;
}
const plugin = {
load: (id: string, require: Require, cb: OnLoad, config: { isBuild?: boolean }) => {
if (config && config.isBuild) {
cb();
} else {
const url = require.toUrl(id);
inject.injectStylesheet(url).then(() => cb({ url }), e => cb.error(e));
}
}
};
export = plugin;