projects
/
tech-radar.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
moved number generation to the radar model
[tech-radar.git]
/
src
/
models
/
blip.js
1
tr
.
models
.
Blip
=
function
(
name
,
cycle
,
isNew
) {
2
var
self
,
number
;
3
4
self
= {};
5
number
= -
1
;
6
7
self
.
name
=
function
() {
8
return
name
;
9
};
10
11
self
.
isNew
=
function
() {
12
return
isNew
;
13
};
14
15
self
.
cycle
=
function
() {
16
return
cycle
;
17
};
18
19
self
.
number
=
function
() {
20
return
number
;
21
};
22
23
self
.
setNumber
=
function
(
newNumber
) {
24
number
=
newNumber
;
25
};
26
27
return
self
;
28
};