Merge branch 'master' into add-toCurrency
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
const bindAll = (obj, ...fns) =>
|
||||
fns.forEach(
|
||||
fn =>
|
||||
(f = obj[fn], obj[fn] = function() {
|
||||
fn => (
|
||||
(f = obj[fn]),
|
||||
(obj[fn] = function() {
|
||||
return f.apply(obj);
|
||||
})
|
||||
)
|
||||
);
|
||||
module.exports = bindAll
|
||||
1566
test/testlog
1566
test/testlog
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user