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

FR-2 Allow arbitrary (unknown) tokens to be replaced by callback #3

Open
niesfisch opened this issue Jul 11, 2011 · 0 comments
Open

Comments

@niesfisch
Copy link
Owner

sometimes you have a string with tokens that are not known until runtime.

e.g.

some text with a ${token} and ${anotherOne} and ${anotherOne}.

as a developer i want to be able to register a callback which gets called for every token that is found.

so the callback would be called for

callback.replaceToken("token")
callback.replaceToken("anotherOne")
callback.replaceToken("anotherOne")

and so on

:)

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