PDA

View Full Version : Dispaatcher and routes removed?



esatterwhite
11 Oct 2011, 10:00 AM
much like the function looks for private variables $owner and $name, the callParent function should look for a $parent property to determine the originating function

Because function.call is native browser code, it is impossible to do any kind of function wrapping that might try to call the callParent function from with in it.

For example, from an event listener or if one tried to override a class method with a wrapper function
Using the native function.caller property makes it

Jamie Avins
11 Oct 2011, 10:10 AM
They are coming soon, getting the rest of MVC finished including routes, history, and deep linking is a priority. This and the other missing features are why this is a preview.

esatterwhite
11 Oct 2011, 10:26 AM
Awesome! That is a relief