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') {