##// END OF EJS Templates
Added tag v1.0.2 for changeset 641c326d4bb4
Added tag v1.0.2 for changeset 641c326d4bb4

File last commit:

r0:ab570232df7d default
r11:f715b707cb39 default
Show More
selector.d.ts
26 lines | 719 B | video/mp2t | TypeScriptLexer
declare namespace dojo {
namespace selector {
/* dojo/selector/_loader */
interface Loader {
/**
* This module handles loading the appropriate selector engine for the given browser
*/
load(id: string, parentRequire: Function, loaded: Function): void; /* TODO: Align with loader api */
}
/* dojo/selector/acme */
interface AcmeQueryEngine {
<T extends Node>(query: string, root?: NodeOrString): T[];
filter<T extends Node>(nodeList: T[], filter: string, root?: NodeOrString): T[];
}
/* dojo/selector/lite */
interface LiteQueryEnegine {
<T extends Node>(query: string, root?: NodeOrString): T[];
match(node: Node, selector: string, root?: NodeOrString): boolean;
}
}
}