Skip to content

BlockMacros - define: fixed variables extracting - #131

Merged
dg merged 1 commit into
nette:masterfrom
matej21:fix/define_parameters
Aug 18, 2016
Merged

BlockMacros - define: fixed variables extracting#131
dg merged 1 commit into
nette:masterfrom
matej21:fix/define_parameters

Conversation

@matej21

@matej21 matej21 commented Aug 15, 2016

Copy link
Copy Markdown
Contributor

...when named parameters are used

currently, even global variables like $basePath are not available...

@dg

dg commented Aug 15, 2016

Copy link
Copy Markdown
Member

That was intentional ... I understand that in some situations it may be undesirable.

@matej21

matej21 commented Aug 15, 2016

Copy link
Copy Markdown
Contributor Author

I was afraid of this answer. So what do you suggest? What about extracting only global params?

@dg

dg commented Aug 15, 2016

Copy link
Copy Markdown
Member

Global params seems like good compromise.

@matej21
matej21 force-pushed the fix/define_parameters branch from 98fc98b to c020029 Compare August 15, 2016 14:33
@matej21

matej21 commented Aug 15, 2016

Copy link
Copy Markdown
Contributor Author

updated

@dg

dg commented Aug 18, 2016

Copy link
Copy Markdown
Member

Thanks

@dg
dg merged commit fec7bd4 into nette:master Aug 18, 2016
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.

2 participants