mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 19:00: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'){
|
if(typeof(nw) != 'undefined'){
|
||||||
ImageGridFeatures.runtime = 'nw'
|
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...
|
// node...
|
||||||
} else {
|
} else {
|
||||||
ImageGridFeatures.runtime = 'node'
|
ImageGridFeatures.runtime = 'node'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user