Преглед изворни кода

-cache of proxy on Savable

Ivan Asmer пре 5 година
родитељ
комит
072e903917
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -321,7 +321,7 @@ const mm = db => {
 
 
         static get m(){ 
-            return Savable._m = (new Proxy({}, {
+            return (new Proxy({}, {
                 get(obj, _class){
                     if (_class in obj){
                         return obj[_class]