Update this example to use AMD

Aug 12, 2014 at 6:17 PM
This example does exactly what I need to do. But I am using the latest version of DOJO which uses the AMD loader. This means that I have to include a Require("dojo/data/ItemFileReadStore") for showResults(results). But if I wrap showResults in a Require() then I can't see it from the button's click event anymore. Has anyone done anything similar to this with the new AMD loader?