Jump to content

Using Typescript Sources


Marco Lebdech
 Share

Recommended Posts

Hi,

 

is there any technique to use Typescript babylon.js sources in testing environment of application? I need to do some additions and changes to engine ( usecase specific ). My app is written in Typescript and i would like to "import" babylon.ts sources to be able to debug babylon.ts sources. Is there any solution for visual studio to use babylon.ts in my app?

 

I am using VS2013

 

Thanks for reply.

Link to comment
Share on other sites

Thanks Gwenael

 

Well, i tried to play those samples in project, but some error occured and babylon.js file, where the error occured, is minified. Is there something to do in order not to minify the babylon compacted file? I am not sure where minifying takes place (jskompactor.exe?), because javascript source files are not minified...

 

btw error is: (taken from firefox, but IE is same, but throws a context window asking for debug)

| TypeError: b is undefined                     ----------   GetFileContent:1 | // Links to minified babylon.js compacted with shaders...| TypeError: BABYLON.SceneLoader is undefined   ----------   BabylonJSDemo:59 |
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...