Skip to content
New issue

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

Add support for layouts with oUF embedded #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

p3lim
Copy link
Member

@p3lim p3lim commented Jan 9, 2015

I've tested this with normal layouts and unembedded versions of oUF, layouts with embedded versions of oUF and the plugin being embedded into a layout itself.

local global = GetAddOnMetadata(addon, 'X-oUF')
if(global) then
table.insert(instances, _G[global])
end
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better to just check if _NAME differs from "oUF: MovableFrames", not everyone might care about using a global name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant