MDL-52204 js: fix 'used before defined' errors
authorDan Poltawski <dan@moodle.com>
Fri, 27 Nov 2015 15:13:56 +0000 (15:13 +0000)
committerDan Poltawski <dan@moodle.com>
Fri, 4 Dec 2015 11:43:10 +0000 (11:43 +0000)
commitf992dcf6e80cd1e00dbd81b23f55ce9873807592
tree9f764d8404e9555e8e20c8769ad47b4686b08115
parent65d070aec867f68b75596908529d9588c12bdc34
MDL-52204 js: fix 'used before defined' errors

Newer versions of jshint detect this coding error, we fix it
by simply reordering the definition of methods.
lib/amd/build/form-autocomplete.min.js
lib/amd/build/templates.min.js
lib/amd/src/form-autocomplete.js
lib/amd/src/templates.js