-
Notifications
You must be signed in to change notification settings - Fork 13
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
Selectable templates by having a directory each? #20
Comments
Ah there's some magic going on here. This magic is provided by brfs. Thats the only magic at work, i'm pretty sure. sorry for the confusion! |
Right... It is essentially macro-ifies the function so browsers can handle it.. Glad i didnt push too hard, it would have taken me too much time to find out myself.. Thanks for the reponse :) I should have looked at documentation about it. Strangely i do see you can use a parameter |
Here is the brfs is regarding dynamic require statements |
I'm going to close this issue, but I'm happy to continue the discussion. |
Browserify has this argument.
Beefy should be able to pass that along. So in the
Edit: totally okay with it being closed. Otherwise the open issue list grows unmanagably.. |
At some point I will move to a more dynamic build system and then this part should be easier to deal with. |
I tried to make each directory a set of templates, but so far it is creating weird bugs.
The bugs seem to care between
other_function(functional_function());
andvar a=functional_function(); other_function(a);
, the former giving an error. Programming languages should in principle not care about that... The latter gives memory leaks issues..Could do the same as with
assets/
...Just like my other issue, probably low priority.
The text was updated successfully, but these errors were encountered: