Skip to content Skip to sidebar Skip to footer
Showing posts with the label Inheritance

Javascript Prototypal Inheritance - Truly Understanding The Concept

I was looking at this video explanation(https://www.youtube.com/watch?v=qMO-LTOrJaE) of JS prototyp… Read more Javascript Prototypal Inheritance - Truly Understanding The Concept

Will Javascript Ever Become A 'proper' Class Based Language?

I'm referring to MDN's article on JavaScript's 'future reserved words' (for use… Read more Will Javascript Ever Become A 'proper' Class Based Language?

Extend Already Defined Class In Javascript

The traditional way of extending classes in JS is something like this: // define constructor functi… Read more Extend Already Defined Class In Javascript

Angular Ui Router - Does A Nested View's Controller Automatically Become A Child Of The Parent View's Controller?

Here's my UI-Router configuration. I have a main products view and two nested states underneath… Read more Angular Ui Router - Does A Nested View's Controller Automatically Become A Child Of The Parent View's Controller?

Reusing Of Functions Which Is Defined Between Controllers

i would like to reuse the code defined between the controllers .controller('GenericController&#… Read more Reusing Of Functions Which Is Defined Between Controllers

Javascript Inheritance And Losing The Context Of 'this'

I am using John Resig's Simple JavaScript Inheritance and have run into an issue where I am los… Read more Javascript Inheritance And Losing The Context Of 'this'