Re: How to use new JavaScriptSupport require in 5.4

2013-06-18 Thread George Christman
Thanks Howard. On Tue, Jun 18, 2013 at 11:54 AM, Howard Lewis Ship wrote: > You've got it. Real documentation coming Real Soon Now. > > > On Tue, Jun 18, 2013 at 8:30 AM, George Christman > wrote: > > > I believe I figured this out, if someone could confirm I'm doing this > > correctly, I'd appre

Re: How to use new JavaScriptSupport require in 5.4

2013-06-18 Thread Howard Lewis Ship
You've got it. Real documentation coming Real Soon Now. On Tue, Jun 18, 2013 at 8:30 AM, George Christman wrote: > I believe I figured this out, if someone could confirm I'm doing this > correctly, I'd appreciate it. > > I added the following to the resource package, > META-INF/modules/custom-au

Re: How to use new JavaScriptSupport require in 5.4

2013-06-18 Thread George Christman
I believe I figured this out, if someone could confirm I'm doing this correctly, I'd appreciate it. I added the following to the resource package, META-INF/modules/custom-autocomplete.js I removed @Import(library="context:js/custom-autocomplete.js") and changed the require to jsSupport.require("

How to use new JavaScriptSupport require in 5.4

2013-06-18 Thread George Christman
Hello everyone, I'm trying to familiarize myself with some of t5.4. I've been trying to build a sample mixin based off from the Tap autocomplete, but seem to have stumbled on JavaScriptSupport require. I'm not sure how to import my custom js and call the initialize method while still being able to