https://github.com/stephenlb/jquery-hashslice
Cross-browser hash slice implementation in JavaScript. In JavaScript a hash is also an Object, the two are interchangeable. This hashslice method allows quick syntax for grabbing an array of hash elements. Also, as in Perl, hashslice can be used to join new elements between two hashes.
https://github.com/stephenlb/jquery-hashslice
Last synced: 10 months ago
JSON representation
Cross-browser hash slice implementation in JavaScript. In JavaScript a hash is also an Object, the two are interchangeable. This hashslice method allows quick syntax for grabbing an array of hash elements. Also, as in Perl, hashslice can be used to join new elements between two hashes.
- Host: GitHub
- URL: https://github.com/stephenlb/jquery-hashslice
- Owner: stephenlb
- Created: 2009-01-15T05:35:34.000Z (over 17 years ago)
- Default Branch: master
- Last Pushed: 2010-01-07T23:26:43.000Z (over 16 years ago)
- Last Synced: 2025-07-28T05:51:31.127Z (11 months ago)
- Language: JavaScript
- Homepage: http://plugins.jquery.com/project/hashslice
- Size: 211 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
================================================================================
jQuery HashSlice
================================================================================
The great and first Hash slice JavaScript implementation. A hash is also an
Object, the two are interchangeable. This hashslice method allows quick syntax
for grabbing an array of hash elements. Also, as in Perl, hashslice can be used
to join new elements between two hashes. Perl provides a much preferred
interface to hash slicing.
================================================================================
EXAMPLES & USAGE
================================================================================
- Open jquery.hashslice.test.html to run tests against your browser.
- Open jquery.hashslice.js source file to read examples.
================================================================================
INSTALLATION
================================================================================
- To add this module to jQuery, simply append the minified code in
jquery.hashslice.min.js to the bottom of jquery.1.x.x.min.js.
- The following command does this easily (make sure to place the correct
jQuery version numbers):
cat jquery.hashslice.min.js >> jquery.1.x.x.min.js