Skip to content

Commit

Permalink
Removed unused dependencies. Updated sparkle.
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Aug 31, 2010
1 parent ade547c commit e6950ab
Show file tree
Hide file tree
Showing 7 changed files with 756 additions and 2,752 deletions.
7 changes: 1 addition & 6 deletions Makefile
Expand Up @@ -33,23 +33,18 @@ edithooks:

refresh:
wget -q http://github.com/balupton/jquery-sparkle/raw/master/scripts/resources/core.console.js -O scripts/resources/core.console.js ;
wget -q http://github.com/balupton/jquery-sparkle/raw/master/scripts/resources/core.string.js -O scripts/resources/core.string.js ;
wget -q http://github.com/balupton/jquery-sparkle/raw/master/scripts/resources/jquery.extra.js -O scripts/resources/jquery.extra.js ;
wget -q http://github.com/balupton/jquery-history/raw/master/demo/styles/generic.css -O demo/styles/generic.css ;


pack:
cat \
./scripts/resources/core.console.js \
./scripts/resources/core.string.js \
./scripts/resources/jquery.extra.js \
./scripts/resources/jquery.history.js \
> ./scripts/jquery.history.js;

compress:
java -jar $(CLOSUREFILE) --create_source_map ./scripts/closure.map --js_output_file=./scripts/jquery.history.min.js --js=./scripts/jquery.history.js;
#java -jar $(YUIFILE) ./styles/jquery.history.css -o ./styles/jquery.history.min.css


build:
$(MAKE) pack;
$(MAKE) compress;
Expand Down
36 changes: 34 additions & 2 deletions README.txt
Expand Up @@ -19,8 +19,8 @@
* - A copy of our interpretation of the license used.
* If not, see <http://github.com/balupton/jquery-history/blob/master/COPYING.txt>.
*
* @version 1.4.4-final
* @date August 21, 2010
* @version 1.5.0-dev
* @date August 31, 2010
* @since v0.1.0-dev, July 24, 2008
* @category jquery-plugin
* @package jquery-history {@link http://www.balupton/projects/jquery-history}
Expand All @@ -35,11 +35,43 @@ Installation & Usage:
1. Refer to the (demo/index.html) or http://www.balupton.com/projects/jquery-history if the demo is not included.

Todo:
1. Fix known issues if there are any.

Known Issues:
1. There are problems with jQuery AutoComplete.


----

Query Strings:

If you would like to have a QueryString in your hash and fetch the contents of it. So for example we have:
http://localhost/page/#subpage?a=true&b=false

And we would like to extract b. Then we can do:
var hashData = hash.queryStringToJSON();
console.log(hashData); // {a:true,b:false}
console.log(hashData.a); // true
console.log(hashData.b); // false

But first, you will have to download the queryStringToJSON function from within here:
http://github.com/balupton/jquery-sparkle/blob/master/scripts/resources/core.string.js

And place it within your own code.
It is not included within jQuery History by default, as it is not essential.


----

Changelog:

v1.5.0-dev, August 31, 2010
- Removed core.string.js and jquery.extra.js as they were not needed.
- Updated jQuery Sparkle dependencies to [v1.5.1-beta, August 31, 2010]

v1.4.4-final, August 21, 2010
- Updated jQuery Sparkle dependencies to [v1.4.17-final, August 21, 2010]

v1.4.4-final, August 21, 2010
- Updated jQuery Sparkle dependencies to [v1.4.17-final, August 21, 2010]

Expand Down
15 changes: 12 additions & 3 deletions demo/index.html
Expand Up @@ -284,9 +284,18 @@ <h2>Enjoy!!!</h2>
<p>
This work is powered by coffee and distributed for free. Donations are how we afford our coffee. Coffee is how we stay awake after our day job hours to work on things like this free open-source project which you're looking at. So go ahead, and get that warm fuzzy feeling knowing you just helped some poor fellow working after hours for free to buy his coffee. You only need to spare a few dollars, or as much as you feel this piece of work is worth. Thanks so much. Alternatively; if you are not in a donating mood, then spreading the word about this project on twitter, your blog, or whatever is just as good. You can also give praise by clicking the feedback button or visiting our "Get Support" link. Thanks a bunch, we appreciate the help deeply.
</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><p>
<input type="hidden" name="cmd" value="_s-xclick" /> <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" /> <img alt="" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1" /> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHVwYJKoZIhvcNAQcEoIIHSDCCB0QCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQ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vcNAQkEMRYEFIkmUtmhJ9sf0UXXUI+1H3nk1a8kMA0GCSqGSIb3DQEBAQUABIGAZMISeCIePC11wppQrz1yyI1A22q+QCUZMs/4rrCii7P/AKvZV0KZ9bKOuxSovddvZ2wZPRWwFPFsx9xjKVBtvKc0lUyP/wPtPbgFcv2/QVI5Xbh/O4s6xIVLikff1tlus3JvqHxshFDubwe9+5w+LIgLIyrDIEP61COoA3B+RCQ=-----END PKCS7-----" />
</p></form>
<form id="paypal-form" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="APWCX9D4EJPXG">
<input type="hidden" name="lc" value="AU">
<input type="hidden" name="item_name" value="Donation to Benjamin Arthur Lupton">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_SM.gif:NonHostedGuest">
<p>
<img alt="" border="0" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1">
<input id="paypal-submit" type="image" src="https://www.paypal.com/en_AU/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
</p>
</form>
<p>
This work is licensed under a <a rel="license" href="http://www.gnu.org/licenses/agpl.html">GNU Affero General Public License</a>.
</p>
Expand Down

0 comments on commit e6950ab

Please sign in to comment.