petermichaux / maria

The MVC framework for JavaScript applications. The real MVC. The Smalltalk MVC. The Gang of Four MVC.
BSD 2-Clause "Simplified" License
765 stars 51 forks source link

don't borrow dependencies #53

Open petermichaux opened 11 years ago

petermichaux commented 11 years ago

The dependency libraries are hidden inside the IIFE that surrounds the entire build maria.js and maria-amd.js files. Since these dependency libraries are hidden, there is no need for them to be in their own namespaces. Instead of borrowing those libraries into the maria namespace object, the namespaces of those other libraries can be replaced with maria. For example just replace every occurance of hijos with maria, etc. This will make the documentation of Maria read much better and make maria.js read much better also.

This may require a build step before running Maria tests or opening the example applications.