Amin Ullah

Results 11 comments of Amin Ullah

If I use your extension with the minifier extension installed as well, the terminal is completely blank. There is an error that is logged for `main.js:197`. It is because of...

This is how the code was. ![1-brackets-ui](https://cloud.githubusercontent.com/assets/3390089/4019919/db76d514-2a95-11e4-9bfa-ed6cee467ee4.png) Error logged to devTools ![2-devtools](https://cloud.githubusercontent.com/assets/3390089/4019922/ec80379c-2a95-11e4-9b74-5e6214624e7a.png) List of installed extensions. ![3-installed-extension](https://cloud.githubusercontent.com/assets/3390089/4019923/fa773e90-2a95-11e4-97be-d109881cd964.png) `require('./ansi')` actually requires UglifyJS from minifier extension. ![4-uglifyjs](https://cloud.githubusercontent.com/assets/3390089/4019924/09932682-2a96-11e4-9d27-741f27213277.png)

I am on 0.42. I have customized your extension for the fix. You can go ahead and close this issue for now.

It might be a problem with require. I could not find it

No, it can't require `preferences.js` as well

Have a look at this screenshot. ![screenshot](https://cloud.githubusercontent.com/assets/3390089/4021148/42901ef2-2ae3-11e4-930b-fe7b2814d5fe.png)

When I put `ansi` function from `ansi.js` into `main.js`, requiring `prefs.js` actually requires UglifyJS from minifier. ![2014-08-23 21_37_33-greenshot](https://cloud.githubusercontent.com/assets/3390089/4021164/fb86901c-2ae3-11e4-8770-e8a5c699b8c0.png)

If you don't mind, can I submit a PR that will fix this with my workaround and also some UI stuff?

Yes, I think that problem is either with brackets or require. I have fixed it for myself. I was think of using buttons instead of icons for the terminal.

I'll Investigate and let you know about it.