rotundasoftware/cartero — pull request #12 by lucastschmidt (2013-08-31 14:20:53+00:00)
Title: Cdn support with Custom extension

By introducing "remoteFiles" option, we were able to define libraries that ended with "css" or "js" extensions that were stored remotely. The problem is that if the remoteFile didnt have an url that ended with "css" or "js", there was no proper way of detecting the extension. As suggested in https://github.com/rotundasoftware/cartero/issues/7 , a good way would be to be able to allow the developer to specify the extension.

So, goal here is to allow any kind of URL to be used in "remoteFiles" options in the bundle.json. This was done by adding support for object definition. Eg:
```
{
"remoteFiles" : [ { "fileName": "http://code.jquery.com/jquery-1.10.1.min.js?__82", "extension": "js" } ]
}
```

Let me know of any problems. I did some tests in a few projects and it looks like its working fine. I modified the new sample project as well. Any suggestions are welcomed.