dojo/query - fixed incorrect return type

Return type updated as per documentation:
http://dojotoolkit.org/reference-guide/1.10/dojo/query.html
This commit is contained in:
jandic
2015-07-03 13:00:13 +02:00
parent 1632606f82
commit ad48ff6620
+2 -2
View File
@@ -1671,7 +1671,7 @@ declare module dojo {
* @param selector A CSS selector to search for.
* @param context OptionalAn optional context to limit the searching scope. Only nodes under context will bescanned.
*/
interface query{(selector: String, context?: String): void}
interface query{(selector: String, context?: String): NodeList}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojo/query.html
*
@@ -1713,7 +1713,7 @@ declare module dojo {
* @param selector A CSS selector to search for.
* @param context OptionalAn optional context to limit the searching scope. Only nodes under context will bescanned.
*/
interface query{(selector: String, context?: HTMLElement): void}
interface query{(selector: String, context?: HTMLElement): NodeList}
interface query {
/**
* can be used as AMD plugin to conditionally load new query engine