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

[CLOSED] Exported Resizer DIRECTION_* and POSITION_* constants #3093

Open
core-ai-bot opened this issue Aug 29, 2021 · 4 comments
Open

[CLOSED] Exported Resizer DIRECTION_* and POSITION_* constants #3093

core-ai-bot opened this issue Aug 29, 2021 · 4 comments

Comments

@core-ai-bot
Copy link
Member

Issue by WebsiteDeveloper
Friday Mar 29, 2013 at 18:28 GMT
Originally opened as adobe/brackets#3290


Fix for #3271.


WebsiteDeveloper included the following code: https://github.com/adobe/brackets/pull/3290/commits

@core-ai-bot
Copy link
Member Author

Comment by jbalsas
Friday Mar 29, 2013 at 18:47 GMT


@WebsiteDeveloper Changes look good. I just have one concern. If you dig inside Resizer, you'll see that POSITION_BOTTOM and POSITION_LEFT aren't actually implemented (there's currently no use case in Brackets for them).

We probably shouldn't expose them yet, or if we do, we'd probably want to add an error log in makeResizable to warn that this won't work. Of course, a third option is to go ahead and implement it ;)

@redmunds I think you reviewed this back in the day... what do you think?

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Friday Mar 29, 2013 at 18:55 GMT


I agree that things that have not yet been implemented should not be exposed.

@core-ai-bot
Copy link
Member Author

Comment by WebsiteDeveloper
Friday Mar 29, 2013 at 18:58 GMT


i'll just remove the exports for those and if i have time i'll look at implementing them, and then reexporting ;)

@core-ai-bot
Copy link
Member Author

Comment by jbalsas
Friday Mar 29, 2013 at 19:07 GMT


Looks good! Merging

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

No branches or pull requests

1 participant