Remove call to Function.prototype.bind()

This commit is contained in:
josieusa 2017-01-04 13:59:42 +01:00
parent 1216ca4770
commit dee3e4e89e
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ LoopBackContext.createContext = function(scopeName) {
LoopBackContext.getCurrentContext = function() {
if (ns && ns.active) {
var boundMethods = {
get: ns.bind(ns.get).bind(ns),
set: ns.bind(ns.set).bind(ns),
get: ns.bind(ns.get),
set: ns.bind(ns.set),
};
var handler = {
get: function(target, name) {