Profile
Achievement
 
                     
    
                rickygri's Recent SnippetsTagged object
- All /
 « Prev 1 Next »
A template for a javascript object with a object.create shiv to condense into object prototypes
        
        
        
            0 
        
        
            1470 
        
                    posted 11 years ago by rickygri
            From @blixt http://stackoverflow.com/users/119081/blixt
As you can see, the classes correctly interact with each other (they share the static id from MyClass, the announce method uses the correct get_name method, etc.)
One thing to note is the...
        
        
        
            1 
        
        
            1748 
        
                    posted 11 years ago by rickygri