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

Add possibility to not render the script automatically #49

Open
reaby opened this issue Jul 17, 2017 · 2 comments
Open

Add possibility to not render the script automatically #49

reaby opened this issue Jul 17, 2017 · 2 comments

Comments

@reaby
Copy link
Contributor

reaby commented Jul 17, 2017

Would be cool to compress the scripts, but i'm not sure if it's possible to get the full script as string -> process it -> ignore automatic rendering and append the compressed string to dom.

@reaby reaby changed the title add possibility to not render the script automatically. Add possibility to not render the script automatically Jul 17, 2017
@steeffeen-zz
Copy link
Owner

Hi, I'm not sure I understood the request.
Do you want to prepare a script that's not automatically rendered for a manialink? Isn't this possible by creating an own Script instance that's not assigned to a manialink instance?

@reaby
Copy link
Contributor Author

reaby commented Jul 18, 2017

Hi,
this request is kinda extension of the other request. I would like to use bluepsyducks compresor for the full generated script (with the partials included). I didn't yet understood how to achieve this, as it looks like FML automatically generates the needed script and injects it to dom at render when I use the ready made components (or $manialink->getScript() ).

The need for this for eXp2, as I would like to use FML ready made components but also our own components with the controllers script stack.

@steeffeen-zz steeffeen-zz added this to the Script Features milestone Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants