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
From 618816f, implement interpolation of %([BLOCK.]KEY) #2
Conversation
Check out my interpolation branch 9c7e9b6 How differs the getParam from yours: |
It looks perfect ! |
In fact, in your branch interpolation, parser.interpolate() does not extend the %(*) |
I copied your interpolate method or maybe I missed something? |
Hi, |
That looks good. |
I'm not sure that was useful because the objects treated haven't prototype but it's done :) |
Yeash, but I'm using jslint and it always mark it as a warning. :) |
merged |
I also published to npm. Can I ask one more thing? Could you describe this method in the readme file please? |
Done in the branch "master" |
Thank you very much |
On my branch "optimized"…
I've reverted to commit 618816f because the commit bcb7c67 disallows an optimized implementation of interpolation of %(block.key), see comment on the commit bcb7c67.
I've implemented the extension of %(block.key) like the Python ConfigParser does but %(REF) can refer to an other block and can be recursive.