From f627483322e7b46f77e4e7660dbd2ffb46a05d73 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 10 Apr 2016 14:04:44 +0300 Subject: [PATCH] minor fix... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/core.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui (gen4)/features/core.js b/ui (gen4)/features/core.js index 4047e89e..e6e0521c 100755 --- a/ui (gen4)/features/core.js +++ b/ui (gen4)/features/core.js @@ -58,6 +58,12 @@ if(typeof(process) != 'undefined'){ if(typeof(nw) != 'undefined'){ ImageGridFeatures.runtime = 'nw' + // NOTE: jli is patching the Date object and with two separate + // instances we'll need to sync things up... + // XXX HACK... + global.Date !== window.Date + && global.Date = window.Date + // node... } else { ImageGridFeatures.runtime = 'node'