Commit b22e31a8 authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Vidjil Team

builder.js main.js removed unused db from builder

parent 48fe0d60
function Builder(model, database) {
function Builder(model) {
if (typeof model != "undefined"){
this.m = model; //Model utilisé
this.m.view.push(this); //synchronisation au Model
}
this.db = database;
this.colorMethod = "";
this.width_left_container = $("#left-container")
.css("width")
......
......@@ -81,7 +81,7 @@ var db = new Database(m);
* The builder completes some informations in the menu and provide some tools
* TODO replace with a menu and info view
*/
var builder = new Builder(m, db);
var builder = new Builder(m);
/* [WIP] Shortcut (optional)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment