Skip to content
Snippets Groups Projects
Select Git revision
  • 48a5869c756c7e8766a683419d93704c88cb23eb
  • master default
  • dev
3 results

ViewMenuView.js

Blame
  • user avatar
    Amanda Ghassaei authored
    ab286181
    History
    ViewMenuView.js 642 B
    /**
     * Created by aghassaei on 10/23/15.
     */
    
    
    define(['jquery', 'underscore', 'menuParent', 'lattice', 'materials', 'materialsPlist', 'appState', 'text!menus/templates/ViewMenuView.html'],
        function($, _, MenuParentView, lattice, materials, materialsPlist, appState, template){
    
    
        return MenuParentView.extend({
    
            events: {
            },
    
            __initialize: function(){
            },
    
            _makeTemplateJSON: function(){
                return _.extend(appState.toJSON(), materialsPlist, {materials:materials.list, compositeMaterialsKeys:materials.getCompositeKeys()});
            },
    
            template: _.template(template)
        });
    });