Skip to content

Commit

Permalink
Added Makefile and uglifyjs compression
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrevoort committed Nov 27, 2011
1 parent 33e185c commit 1b91495
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
node_modules
7 changes: 7 additions & 0 deletions Makefile
@@ -0,0 +1,7 @@
all:
./build.sh

install:
npm install .

.PHONY: compress install
1 change: 1 addition & 0 deletions build.sh
@@ -0,0 +1 @@
./node_modules/.bin/uglifyjs jquery.facebook.multifriend.select.js > jquery.facebook.multifriend.select.min.js
2 changes: 1 addition & 1 deletion jquery.facebook.multifriend.select.js
@@ -1,6 +1,6 @@
// Copyright 2010 Mike Brevoort http://mike.brevoort.com @mbrevoort
//
// v1.0 jquery-facebook-multi-friend-selector
// v5.0 jquery-facebook-multi-friend-selector
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
27 changes: 16 additions & 11 deletions jquery.facebook.multifriend.select.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions package.json
@@ -0,0 +1,10 @@
{
"name": "jquery.facebook.multifriend.select",
"version": "5.0.0",
"contributors": [
{ "name": "Mike Brevoort", "email": "mike@brevoort.com" }
],
"devDependencies": {
"uglify-js": "latest"
}
}

0 comments on commit 1b91495

Please sign in to comment.