Created
          April 6, 2017 00:19 
        
      - 
      
- 
        Save dhwang/b9a370401cf58a7bc0479a840b463f32 to your computer and use it in GitHub Desktop. 
    lodash subclass
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | _.mixin({ | |
| 'extends': function(child, base, props) { | |
| child.prototype = _.create(base.prototype, _.assign({ | |
| '_super': base.prototype, | |
| 'constructor': child | |
| }, props)); | |
| return child; | |
| } | |
| }); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment