projects
/
tech-radar.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
styles with scss
[tech-radar.git]
/
src
/
models
/
quadrant.js
1
tr
.
models
.
Quadrant
=
function
(
name
) {
2
var
self
,
blips
;
3
4
self
= {};
5
blips
= [];
6
7
self
.
name
=
function
() {
8
return
name
;
9
};
10
11
self
.
add
=
function
(
newBlips
) {
12
if
(
Array
.
isArray
(
newBlips
)) {
13
blips
=
blips
.
concat
(
newBlips
);
14
}
else
{
15
blips
.
push
(
newBlips
);
16
}
17
};
18
19
self
.
blips
=
function
() {
20
return
blips
.
slice
(
0
);
21
};
22
23
return
self
;
24
};