Created
May 8, 2012 14:11
-
-
Save acorcutt/2635402 to your computer and use it in GitHub Desktop.
Import URL into assets pipeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Instead of copying js plugins to assets/ import them from a url. | |
// Obviously works best with pre-compiled assets | |
<%=open('https://raw.github.com/documentcloud/backbone/master/backbone.js | |
').read%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment