The sheet is read against the world and nothing else #54
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
northgale/warriorkit!54
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/054-the-sheet-is-read-against-the-world-and-nothin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The sheet is read against the world and nothing else
Along the way:
Touches 28 files:
docs/CHANGELOG.md,scripts/harness/client/12-questlog.lua,scripts/harness/runner.lua,scripts/harness/sections/16-options-window.lua,scripts/harness/sections/47-quest-log.lua,scripts/harness/sections/47-quest-pin.luaand 22 more.I mostly read this one to learn the secure handler pattern. One question, which may be naive.
@ -0,0 +110,4 @@local function Guard()if not guard thenguard = CreateFrame("Frame", "WarriorKitHushGuard", UIParent,"SecureHandlerAttributeTemplate")A named global frame on a secure attribute template, made once and kept. Does the name have to be global for the snippet to find it, or is that only for the harness?
Not naive. The name is for the harness and for anyone typing
/framestack; the snippet reaches it through the attribute rather than by name. Said so above the call.