brangerbriz / liBB.js

A JavaScript library/framework for creating interactive && generative apps + installations in/out of the browser
http://libb.brangerbriz.com/
GNU General Public License v3.0
1 stars 2 forks source link

Namespace #7

Closed brannondorsey closed 8 years ago

brannondorsey commented 9 years ago

Originally we had talked about rapping everything up in a namespace but moved away from that once we started using RequireJS. However, P5.js uses RequireJS and has a global namespace, so it is definitely possible. This would also allow us to have some constants + static variables (like BBMod version info) etc bound to the BBMod object.

brannondorsey commented 8 years ago

I've got this working in a simple way inside src/main.js on the build branch.