You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Closure Compiler Discuss
Hey,
I recently came across the problem of using three.js within a closure compiler project. I saw a couple of posts regarding the usage of .d.ts files and that at some point the closure compiler might even support .d.ts files. However I wrote a tool which might help some people at this time. It converts .d.ts files to closure compiler externs. It's not 100% tested yet.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Closure Compiler Discuss
Do you have it working with three.js? That would be of great interest. I got a toy application working once by using three.min.js as an externs file, but it generated a huge list of warnings, and I wasn't sure it would work under real-world conditions.
Eric Schneller
unread,
Nov 23, 2015, 4:15:22 AM11/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Closure Compiler Discuss
I have a small three.js project working using the generated externs file. However it's not using that many classes of three.js yet, so I can't promise that all methods are exported properly. So far I'm just seeing one warning which I'm working on.
Michael Zhou
unread,
Dec 2, 2015, 8:00:15 PM12/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Closure Compiler Discuss
Have you tried the .d.ts file for three.js from the DefinitelyTyped repository?
On Saturday, November 21, 2015 at 11:15:56 AM UTC-5, Eric Schneller wrote: