-
Notifications
You must be signed in to change notification settings - Fork 34
Prune unused code #72
Comments
I understand the first two references, what is wrong with bridge.js, I am pretty sure that is still being used. The bbx-emulator is not being used which is just a matter of removing the submodule reference. |
I did a quick search for references to it and didn't see any. |
the code for grabbing plugins hasn't been modified, so it is still used in the exact same way as before |
Just did a grep, didn't see the bridge used anywhere but in the unit tests. |
Weird, I will get the team to have a look Just did a grep, didn't see the bridge used anywhere but in the unit tests. Reply to this email directly or view it on GitHub: Sent from my BlackBerry device on the Rogers Wireless Network |
@jeffheifetz confirmed that we are using it, he will comment on this to let you know how exactly, but I believe we don't use it as a require statement. |
The bridge is being used via URI here - https://github.com/blackberry-webworks/BB10-WebWorks-Framework/blob/next/lib/public/window-webworks.js#L131 |
Would explain why it didn't come up in a grep, still a lot of pruning to do though :) |
I am thinking I am seeing a lot of dead / unused code in this project by looking it over:
Examples:
I am sure there is a lot more based on my quick glance. The codebase is starting to have a lot of cruft around it and needs to be cleaned up as it is hard to follow what is new / old / used / unused.
The text was updated successfully, but these errors were encountered: