projects
/
profile
/
ivi
/
Modello_Common.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial commit of the common code for the Modello UI
[profile/ivi/Modello_Common.git]
/
js
/
services
/
extends.js
1
function _extends(d, b) {
2
"use strict";
3
if (Object.create) {
4
if (b.prototype === null) {
5
console.log(d);
6
}
7
d.prototype = Object.create(b.prototype);
8
9
d.prototype.constructor = d;
10
return;
11
}
12
13
function Extender() {
14
this.constructor = d;
15
}
16
Extender.prototype = b.prototype;
17
d.prototype = new Extender();
18
}