Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
d4bfcda2
Commit
d4bfcda2
authored
May 19, 2017
by
Téo Vasseur
Browse files
builder.js : use View.call
parent
8161b869
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/builder.js
View file @
d4bfcda2
...
@@ -23,8 +23,7 @@
...
@@ -23,8 +23,7 @@
function
Builder
(
model
,
database
)
{
function
Builder
(
model
,
database
)
{
if
(
typeof
model
!=
"
undefined
"
){
if
(
typeof
model
!=
"
undefined
"
){
this
.
m
=
model
;
//Model utilisé
View
.
call
(
this
,
model
);
this
.
m
.
view
.
push
(
this
);
//synchronisation au Model
}
}
if
(
typeof
database
!=
'
undefined
'
)
{
if
(
typeof
database
!=
'
undefined
'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment