We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[demo][acl] __hook__acl should be used instead of __hook__ in demo/hook-callback.js
__hook__acl
__hook__
demo/hook-callback.js
Since __hook__ has significant overheads for constructing object access graphs, __hook__acl should be used instead.
diff --git a/demo/hook-callback.js b/demo/hook-callback.js index 391961e..6dfdcc6 100644 --- a/demo/hook-callback.js +++ b/demo/hook-callback.js @@ -6869,7 +6869,7 @@ Copyright (c) 2017, Tetsuya Mori <t2y3141592@gmail.com>. All rights reserved. __hook__min, // minimal (no acl) }; - Object.defineProperty(_global, '__hook__', { configurable: false, enumerable: false, writable: false, value: hookCallbacks.__hook__ }); + Object.defineProperty(_global, '__hook__', { configurable: false, enumerable: false, writable: false, value: hookCallbacks.__hook__acl }); _globalObjects.set(_global.__hook__, '__hook__'); hook.hookCallbackCompatibilityTest();
gulp demo
The text was updated successfully, but these errors were encountered:
No branches or pull requests
[demo][acl]
__hook__acl
should be used instead of__hook__
indemo/hook-callback.js
Since
__hook__
has significant overheads for constructing object access graphs,__hook__acl
should be used instead.Change to use
__hook__acl
gulp demo
is required after the modification.The text was updated successfully, but these errors were encountered: