Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Prefix all the customs attrs #52

Closed
pdegand opened this issue Jan 13, 2015 · 2 comments
Closed

Prefix all the customs attrs #52

pdegand opened this issue Jan 13, 2015 · 2 comments
Assignees

Comments

@pdegand
Copy link

pdegand commented Jan 13, 2015

As you are using rather common custom attrs like text or textSize, theses attrs could conflict with another libraries.

As suggested by Xavier Ducrohet here, you should prefix all your custom attrs with something like tj_.

You could also consider using the platform attrs for common attrs like textSize, paddingetc...

Thanks

@mathew-kurian
Copy link
Owner

Thank you. Improvements will be put in the next build.

mathew-kurian pushed a commit that referenced this issue Jan 13, 2015
@mathew-kurian
Copy link
Owner

Done. Version 2.0.3. Prefixed with documentView

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

No branches or pull requests

2 participants