Permalink
Browse files

Adding a comment about why we are only compressing browserid.js

  • Loading branch information...
1 parent e85d2e9 commit 8c614940b62e7c677e801e1cc5bc33e0cf9ccc7e @shane-tomlinson shane-tomlinson committed Jul 20, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 browserid/compress.sh
View
3 browserid/compress.sh
@@ -18,6 +18,9 @@ echo '****Building BrowserID.org HTML, CSS, and JS****'
echo ''
cd ../js
+# Yes, this is the right way of doing this. We are compressing ONLY
+# browserid.js because both jquery and underscore are already compressed. Then
+# take the three of them, concatinate them together, and create lib.min.js
java -jar $YUI_LOCATION browserid.js -o browserid.min.js
cat jquery-1.6.2.min.js ../dialog/resources/underscore-min.js browserid.min.js > lib.min.js

0 comments on commit 8c61494

Please sign in to comment.