Remove call to Function.prototype.bind()
This commit is contained in:
parent
1216ca4770
commit
dee3e4e89e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue