mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7041714454
commit
f627483322
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user