From 5215b50c73975b9bcb9d5ccc64089e1b7c26525d Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 14 Feb 2017 23:47:22 +0200 Subject: [PATCH] chore(cloudcmd) not defined --- client/buffer.js | 2 ++ client/cloudcmd.js | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/client/buffer.js b/client/buffer.js index c1c1e70a..d8844b1f 100644 --- a/client/buffer.js +++ b/client/buffer.js @@ -1,5 +1,7 @@ 'use strict'; +/* global CloudCmd */ + const jonny = require('jonny'); const exec = require('execon'); diff --git a/client/cloudcmd.js b/client/cloudcmd.js index da8c4c6d..b21cd738 100644 --- a/client/cloudcmd.js +++ b/client/cloudcmd.js @@ -9,7 +9,10 @@ window.Emitify = require('emitify'); window.CloudCmd = (config) => { window.Util = require('../common/util'); window.CloudFunc = require('../common/cloudfunc'); - window.DOM = require('./dom'); + + const DOM = require('./dom'); + + window.DOM = DOM; window.CloudCmd = require('./client'); const Dialog = require('./dialog');