corrade-nucleus-nucleons – Blame information for rev 36
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
36 | office | 1 | |
2 | module.exports = exports = function (proto) { |
||
3 | proto._options = {}; |
||
4 | |||
5 | proto.options = function setOptions (options) { |
||
6 | var keys = Object.keys(options) |
||
7 | , i = keys.length |
||
8 | , key |
||
9 | |||
10 | while (i--) { |
||
11 | key = keys[i]; |
||
12 | this._options[key] = options[key]; |
||
13 | } |
||
14 | |||
15 | return this; |
||
16 | } |
||
17 | } |