diff options
Diffstat (limited to 'common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/document_provider.js')
-rw-r--r-- | common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/document_provider.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/document_provider.js b/common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/document_provider.js deleted file mode 100644 index 10087cc..0000000 --- a/common/src/main/webapp/usageguide/appserver/node_modules/mongoose/lib/document_provider.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -/* eslint-env browser */ - -/*! - * Module dependencies. - */ -var Document = require('./document.js'); -var BrowserDocument = require('./browserDocument.js'); - -/** - * Returns the Document constructor for the current context - * - * @api private - */ -module.exports = function() { - if (typeof window !== 'undefined' && typeof document !== 'undefined' && document === window.document) { - return BrowserDocument; - } - return Document; -}; |