-
Notifications
You must be signed in to change notification settings - Fork 352
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
preload.json crashes Jason app (Not sure if this is expected to work or not) #325
Comments
Yes, it is intentionally without rest of the tags because the previous approach of trying to support the entire That's why I cut all that out with the new approach with
So the answer to above is yes. That said, if something's not working with preload other than the issues above, could you share the details? |
got it thanks, I was trying to design a preload.json (using Jason) and wasn't sure. |
yup just need to build a view like any other view, and then when you're done designing, just strip out rest of the view and use the |
at what point though in the hierarchy? just having a "layers" element works but I want to style the background so I'd like to go one level up so I can set body.style.background? |
You first write a regular markup like this:
Then just take out the [BODY CONTENT] part and use it as preload, which means you can use anything from |
perfect, thanks! |
Re-opening because when I use the below preload.json once the app loads the loading screen doesn't go away. It seems to be specific to using web background in preload
|
the project preload.json - is that expected to work? It's not (unless you inject additional elements) fully formed, the "layers" element isn't wrapped in a $jason/body or a $jason/head/templates/body container. If you run that exact json on the Jason app it crashes. Maybe I'm missing something and you automatically wrap the contents of preload.json with the $jason or something?
The text was updated successfully, but these errors were encountered: