diff --git a/js/App.js b/js/App.js index 5befe1fe8..76a731ecf 100644 --- a/js/App.js +++ b/js/App.js @@ -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