From 1bb9539530976436cb23845b4814e4d6895d511b Mon Sep 17 00:00:00 2001 From: Karl Date: Fri, 28 Oct 2016 17:46:39 +0200 Subject: [PATCH] adds fixme comment about object.assign for merging --- app/Lib/Utilities/OptionsHelper.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Lib/Utilities/OptionsHelper.js b/app/Lib/Utilities/OptionsHelper.js index ff21290..918c8d5 100644 --- a/app/Lib/Utilities/OptionsHelper.js +++ b/app/Lib/Utilities/OptionsHelper.js @@ -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(); -}); \ No newline at end of file +});