From 75679b86b1c414a0cec8c24f3e30511ef99d4d95 Mon Sep 17 00:00:00 2001 From: Maria Fernandez Date: Wed, 18 Jan 2017 20:40:29 -0800 Subject: [PATCH] get config values from global object --- source/adapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/adapter.js b/source/adapter.js index 4c72735..26f00c5 100644 --- a/source/adapter.js +++ b/source/adapter.js @@ -1,5 +1,5 @@ // Adapter's interface. -var AdapterJS = AdapterJS || {}; +var AdapterJS = (window && window.AdapterJS) || {}; // Browserify compatibility if(typeof exports !== 'undefined') {