diff --git a/js/menus/ElementMechBoundaryCondMenuView.js b/js/menus/ElementMechBoundaryCondMenuView.js index 25dab6d46df26ddfeb7ca1fd3b5e2603c2d9e99e..b105c2e2448ace5af1b6cae9122bd2035bce234e 100644 --- a/js/menus/ElementMechBoundaryCondMenuView.js +++ b/js/menus/ElementMechBoundaryCondMenuView.js @@ -2,8 +2,8 @@ * Created by ghassaei on 5/31/16. */ -define(['jquery', 'underscore', 'menuParent', 'elementMechSimPlist', 'elementMechSim', 'text!menus/templates/ElementMechBoundaryCondMenuView.html'], - function($, _, MenuParentView, elementMechSimPlist, elementMechSim, template){ +define(['jquery', 'underscore', 'menuParent', 'elementMechSim', 'text!menus/templates/ElementMechBoundaryCondMenuView.html'], + function($, _, MenuParentView, elementMechSim, template){ return MenuParentView.extend({ diff --git a/js/menus/MenuWrapperView.js b/js/menus/MenuWrapperView.js index 1338aeb122917a3284a54a9a9987329f0725f035..3570bb4057776aa0f4962c6d82b20807a3f107fd 100644 --- a/js/menus/MenuWrapperView.js +++ b/js/menus/MenuWrapperView.js @@ -368,13 +368,11 @@ define(['jquery', 'underscore', 'plist', 'backbone', 'lattice', 'appState', 'tex if (this.menu) this.menu.destroy(); var self = this; - console.log("menus/" + tabName.charAt(0).toUpperCase() + tabName.slice(1) + "MenuView"); + //console.log("menus/" + tabName.charAt(0).toUpperCase() + tabName.slice(1) + "MenuView"); require(["menus/" + tabName.charAt(0).toUpperCase() + tabName.slice(1) + "MenuView"], function(MenuView){ var data = {model:self.model}; if (object) data.myObject = object; self.menu = new MenuView(data); - console.log(tabName); - console.log(self.menu); self.menu.render(); }); },