Changeset [abe94ac74728f0cbf6f9bd052bdf1e1d6d04a313] by Nick Muerdter

February 24th, 2012 @ 06:00 PM

Fix Context#logical_path when path contains periods.

Without this, the logical_path only grabbed up up until the first period encountered. So if you happened to have a file like jquery.mobile-1.0.1/jquery.mobile-1.0.1.js it's logical path was being interpreted as just jquery instead of jquery.mobile-1.0.1/jquery.mobile-1.0.1.
https://github.com/sstephenson/sprockets/commit/abe94ac74728f0cbf6f...

Committed by Nick Muerdter

  • A test/fixtures/context/properties.with.periods.js.erb
  • M lib/sprockets/context.rb
  • M test/test_context.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

JavaScript dependency management and concatenation
<a href="http://getsprockets.org/">http://getsprockets.org/</a>