@hyperframes/core 0.4.42 → 0.4.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compiler/compositionScoping.js +7 -7
- package/dist/generated/runtime-inline.js +1 -1
- package/dist/generated/runtime-inline.js.map +1 -1
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +18 -18
- package/dist/hyperframe.runtime.mjs +18 -18
- package/package.json +1 -1
|
@@ -117,7 +117,7 @@ export function wrapScopedCompositionScript(source, compositionId, errorLabel =
|
|
|
117
117
|
return found && __hfContains(found) ? found : null;
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
var value = Reflect.get(target, prop,
|
|
120
|
+
var value = Reflect.get(target, prop, target);
|
|
121
121
|
return typeof value === "function" ? value.bind(target) : value;
|
|
122
122
|
},
|
|
123
123
|
})
|
|
@@ -131,10 +131,10 @@ export function wrapScopedCompositionScript(source, compositionId, errorLabel =
|
|
|
131
131
|
if (!__hfTimelineRegistryProxy) {
|
|
132
132
|
__hfTimelineRegistryProxy = new Proxy(window.__timelines, {
|
|
133
133
|
get: function(target, prop, receiver) {
|
|
134
|
-
return Reflect.get(target, prop === __hfCompId ? __hfTimelineCompId : prop,
|
|
134
|
+
return Reflect.get(target, prop === __hfCompId ? __hfTimelineCompId : prop, target);
|
|
135
135
|
},
|
|
136
136
|
set: function(target, prop, value, receiver) {
|
|
137
|
-
return Reflect.set(target, prop === __hfCompId ? __hfTimelineCompId : prop, value,
|
|
137
|
+
return Reflect.set(target, prop === __hfCompId ? __hfTimelineCompId : prop, value, target);
|
|
138
138
|
},
|
|
139
139
|
});
|
|
140
140
|
}
|
|
@@ -144,7 +144,7 @@ export function wrapScopedCompositionScript(source, compositionId, errorLabel =
|
|
|
144
144
|
? new Proxy(window, {
|
|
145
145
|
get: function(target, prop, receiver) {
|
|
146
146
|
if (prop === "__timelines") return __hfGetTimelineRegistry();
|
|
147
|
-
var value = Reflect.get(target, prop,
|
|
147
|
+
var value = Reflect.get(target, prop, target);
|
|
148
148
|
return typeof value === "function" ? value.bind(target) : value;
|
|
149
149
|
},
|
|
150
150
|
set: function(target, prop, value, receiver) {
|
|
@@ -153,7 +153,7 @@ export function wrapScopedCompositionScript(source, compositionId, errorLabel =
|
|
|
153
153
|
__hfTimelineRegistryProxy = null;
|
|
154
154
|
return true;
|
|
155
155
|
}
|
|
156
|
-
return Reflect.set(target, prop, value,
|
|
156
|
+
return Reflect.set(target, prop, value, target);
|
|
157
157
|
},
|
|
158
158
|
})
|
|
159
159
|
: window;
|
|
@@ -217,12 +217,12 @@ export function wrapScopedCompositionScript(source, compositionId, errorLabel =
|
|
|
217
217
|
};
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
|
-
var value = Reflect.get(utilsTarget, utilsProp,
|
|
220
|
+
var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);
|
|
221
221
|
return typeof value === "function" ? value.bind(utilsTarget) : value;
|
|
222
222
|
},
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
|
-
var value = Reflect.get(target, prop,
|
|
225
|
+
var value = Reflect.get(target, prop, target);
|
|
226
226
|
return typeof value === "function" ? value.bind(target) : value;
|
|
227
227
|
},
|
|
228
228
|
});
|