Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile non-compressed version #14

Open
matthiasbock opened this issue Aug 8, 2013 · 9 comments
Open

compile non-compressed version #14

matthiasbock opened this issue Aug 8, 2013 · 9 comments

Comments

@matthiasbock
Copy link

Hi,

'ant compile' only got me an unreadable, compressed version of libSBGN.js.
Is it possible to build a human readable version ?

Matthias

@chemhack
Copy link
Owner

chemhack commented Aug 8, 2013

'ant compile-whitespace-only' gives you uncompressed javascript bundle with whitespace removed only.

@matthiasbock
Copy link
Author

Works. Thank you!

@matthiasbock
Copy link
Author

Hm, with the non-compressed version I am getting an error.

I tried to open http://matthiasbock.github.io/BooleSim/ in Chromium, but I get
screenshot

@chemhack
Copy link
Owner

chemhack commented Aug 8, 2013

It seems to be a problem of 'var COMPILED=false', you can try change it to true in uncompressed js and see if it works.

@chemhack chemhack reopened this Aug 8, 2013
@matthiasbock
Copy link
Author

I changed it to

var COMPILED = true;

but still the same problem...

@chemhack
Copy link
Owner

chemhack commented Aug 8, 2013

this is so weird. It seems to be a problem with closure library. Can you try 'ant compile-simple' and 'ant compile-advanced' see if the same problem happens?

@matthiasbock
Copy link
Author

Using compiled-simple.js I get a different error:
screenshot

@matthiasbock
Copy link
Author

Using compiled-advanced, libSBGN.js shows no error, however an error occurs when importing the Demo network:
screenshot

@matthiasbock
Copy link
Author

That's really weird, now I can't even get it to work again with the 'ant compile' version.
Maybe I accidentally broke something in BooleSim, I will try going back to a previous revision ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants