Run Template in Template (recursion) within underscore.js template engine

前端 未结 5 499
深忆病人
深忆病人 2020-12-30 02:59

I am using backbone.js and underscore.js to build an javascript application. Since hours of reading and trying to run a template within a template like below, it is getting

5条回答
  •  一向
    一向 (楼主)
    2020-12-30 03:58

    I just successfully tried this. I tested it with only pure UnderscoreJS, no BackboneJS but functionally it shouldn't matter.

    Here is the code:

    
    
      
        
        
            
    
      
       
    
        

    Render Fibonacci With UnderscoreJS

提交回复
热议问题