sprockets
https://github.com/rails/sprockets
Ruby
Rack-based asset packaging system
Sprockets::SourceMapUtils#vlq_encode_mappings
Public: Encode a mapping array into a compact VLQ string. ary - Two dimensional Array of Integers. Returns a VLQ encoded String seperated by , and ;.
Edit
git clone [email protected]:rails/sprockets.git
cd sprockets
open lib/sprockets/source_map_utils.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Sprockets--SourceMapUtils-vlq_encode_mappings-for-pr
# Commit to gitgit add lib/sprockets/source_map_utils.rbgit commit -m "better docs for Sprockets::SourceMapUtils#vlq_encode_mappings"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Sprockets--SourceMapUtils-vlq_encode_mappings-for-pr
hub pull-request
# Celebrate!