Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

2020-06_ucbus-stepper-module.sch

Blame
  • PartMenuView.js NaN GiB
    /**
     * Created by aghassaei on 1/26/15.
     */
    
    define(['jquery', 'underscore', 'menuParent', 'plist', 'lattice', 'text!partMenuTemplate'], function($, _, MenuParentView, plist, lattice, template){
    
        return MenuParentView.extend({
    
            events: {
            },
    
            _initialize: function(){
                //bind events
                this.listenTo(lattice, "change", this.render);
                this.listenTo(this.model, "change", this.render);
            },
    
            _makeTemplateJSON: function(){
                return _.extend(lattice.toJSON(), this.model.toJSON(), plist);
            },
    
            template: _.template(template)
        });
    });