Image path when pushup.js doesn't exist
Reported by Sébastien Grosjean - ZenCocoon | August 3rd, 2008 @ 10:08 AM
Hi,
When going in production all my javascripts files got merged and compressed so I don't have any pushup.js file.
This actually makes problem with images options if not defined as full URL (eg: http://domain.tld/images/pushup/). Absolute path should still keep working as not based on pushup javascript location.
Comments and changes to this ticket
-
stuartloxton August 3rd, 2008 @ 12:07 PM
Would a / path be useful to start from the domain base?
http://pushup.lighthouseapp.com/...
Has a similar problem + fix
-
Nick Stakenburg August 3rd, 2008 @ 12:09 PM
- State changed from new to invalid
It's not possible to change the name of pushup.js. The filename is searched for to get the correct image path. If you rename it, you'll need to change the regexp inside pushup.js to match the new name, I recommend not changing the name at all though.
-
Nick Stakenburg August 3rd, 2008 @ 12:29 PM
By doing that you render scriptaculous ability to use scriptaculous.js?load=effects useles. Pushup uses a similar technique, there's no other way to do this.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Pushup is an effort to push the web forward by helping users update their outdated browsers. Give your users a better web experience today by installing Pushup on your domain!