From 807f74729e016650e966f621eaad4cec25f21d57 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 19 Apr 2016 03:03:29 +0300 Subject: [PATCH] minor bugfix... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/external-editor.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ui (gen4)/features/external-editor.js b/ui (gen4)/features/external-editor.js index 59928363..ee52affc 100755 --- a/ui (gen4)/features/external-editor.js +++ b/ui (gen4)/features/external-editor.js @@ -4,13 +4,12 @@ * **********************************************************************/ -if(typeof(process) != 'understand'){ - var pathlib = require('path') -} - define(function(require){ var module = {} //var DEBUG = DEBUG != null ? DEBUG : true +if(typeof(process) != 'undefined'){ + var pathlib = requirejs('path') +} var actions = require('lib/actions') var core = require('features/core')