mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
adds fixme comment about object.assign for merging
This commit is contained in:
parent
45ea2dfba3
commit
1bb9539530
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ function (Exception) {
|
|||
|
||||
}
|
||||
|
||||
// FIXME we could actually use Object.assign() for merging here
|
||||
OptionsHelper.prototype.merge = function(options, preset) {
|
||||
|
||||
if(!preset && !options) {
|
||||
|
|
@ -53,4 +54,4 @@ function (Exception) {
|
|||
|
||||
return new OptionsHelper();
|
||||
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue