2016-07-28 13:40:19 +00:00
|
|
|
// Copyright IBM Corp. 2015. All Rights Reserved.
|
|
|
|
// Node module: loopback-context-cls
|
|
|
|
// This file is licensed under the MIT License.
|
|
|
|
// License text available at https://opensource.org/licenses/MIT
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
2016-07-29 07:29:10 +00:00
|
|
|
var LoopBackContext = module.exports;
|
2016-07-28 13:40:19 +00:00
|
|
|
|
2016-07-29 07:29:10 +00:00
|
|
|
LoopBackContext.getCurrentContext = function() {
|
2016-07-28 13:40:19 +00:00
|
|
|
return null;
|
|
|
|
};
|
|
|
|
|
2016-07-29 07:29:10 +00:00
|
|
|
LoopBackContext.runInContext =
|
|
|
|
LoopBackContext.createContext = function() {
|
2016-07-28 13:40:19 +00:00
|
|
|
throw new Error('Current context is not supported in the browser.');
|
|
|
|
};
|