Aug. 21st, 2011

yvi: (Dreamwidth - Badass Dreamwidth dev)
[personal profile] yvi
Are there any ongoing projects for getting rid of inline CSS and JS and/or for transfering CSS/JS that is currently in BML files to its own files?

I just looked at the Manage Circle page and was quite surprised that the CSS and the JS for that page was in the BML file. I don't know whether opening a bug for it and putting those parts into their own file is something I can just do.
jeshyr: Pile of thick books labelled "Geek" (Geek)
[personal profile] jeshyr
[BTW: I am editing this post as the script is updated so refer back for further edits.]

I'm just a newbie at developing - submitted my first patch today - and one of the things one has to do to get up and running is to read about 5 tons of documentation and figure out workflows. Since I was having lots of potentially useful scripts suggested to me by developers and by the wiki and since I am at heart a toolmaker I put them all together and documented everything to the best of my ability.

I think this works but it's way past my bedtime right now and I haven't tested every single combination so if it eats your code, your data, or your firstborn child be in on your own head. OTOH I think it should work right!





For new folks, you need to copy everything in the text box above and paste it into a new file on your Dreamhack. I suggest you put it in the ~/bin directory and call the file 'dw', because then your system matches mine :). Then you need to make that file executable by typing 'chmod +755 ~/bin/dw' or whatever filename you used. After that you can type 'dw' and it should execute just fine, it'll give you instructions.



I would welcome fixes, constructive criticism, or anything else you have to offer. Feel free to use this in any way you want, etc.

r

Profile

dw_dev: The word "develop" using the Swirly D logo.  (Default)
Dreamwidth Open Source Development

June 2025

S M T W T F S
1234567
89101112 1314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 18th, 2025 01:37 am
Powered by Dreamwidth Studios