##// END OF EJS Templates
added store::get method to wrap up dojo/store/get
added store::get method to wrap up dojo/store/get

File last commit:

r109:4a375b9c654a default
r136:435ce00ba245 v1.9.0-rc2 default
Show More
css.ts
18 lines | 463 B | video/mp2t | TypeScriptLexer
cin
Converted to subproject djx, removed dojo-typings
r65 import inject from "./dom-inject";
interface OnLoad {
cin
linting
r109 (result?: unknown): void;
error(err: unknown): void;
cin
Converted to subproject djx, removed dojo-typings
r65 }
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;