UNPKG
silentjs
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
NodeJS API Framework
github.com/troianoandres/silentjs
troianoandres/silentjs
silentjs
/
classes
/
generic.js
11 lines
(8 loc)
•
203 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
var
Generic
=
function
(
) { };
Generic
.
prototype
.
get
=
function
(
attr
) {
return
this
[attr]; };
Generic
.
prototype
.
set
=
function
(
attr, value
) {
this
[attr] = value; };
module
.
exports
=
Generic
;