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

Examples not working #46

Closed efleming969 closed 11 years ago

efleming969 commented 11 years ago

I'm trying to open the example applications, but getting an error in View.js:140.

Am I missing a step? It looks like the hijos library not being attached to the maria namespace.

2013-05-21_104021_696021390

efleming969 commented 11 years ago

Adding the following to the various lib/maria/maria.js files, fixed the problem for me:

document.write('<script src="../../../src/borrowHijos.js"></script>');
petermichaux commented 11 years ago

Thanks for the report. I missed that change recently when I made the Hijos methods available on the maria object so they are available for third-party plugins to use.