Add back 'App.find()' and 'App.findAll()' until official plugins can all be updated.

This commit is contained in:
supahgreg 2025-10-16 14:52:16 +00:00
parent 64d5230c38
commit e29e0fef7b
No known key found for this signature in database

View File

@ -140,6 +140,14 @@ const App = {
}
}
},
/** @deprecated use document.querySelector */
find: function(query) {
return document.querySelector(query)
},
/** @deprecated use document.querySelectorAll */
findAll: function(query) {
return document.querySelectorAll(query);
},
dialogOf: function (elem) {
// elem could be a Dijit widget