mjs_py /

Filename Size Date modified Message
33 B
4.2 MB
4.7 KB
693 B
mjs.py 1.0 by - William B

email: toadwarrior@gmail.com

This is just a simple script I use for minifying JavaScript.
Arguably it's a bit useless since you could just use the jar
but I prefer to use the web service and only use the jar when
I'm on the bus or somewhere without a net connection.

I decided to share it incase anyone wanted to do something similar.
I was going down the route of making it a library to use with other
code (mainly a Django app I'm working on) but I'm not sure I want to
rely on a free Google service which will disappear at any moment or
a Java Jar. In that instance you would probably want a pure Python
solution which is the route I'll probably go down myself.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.