{"issue":{"state":"open","created_at":"2011-11-23T17:27:01Z","updated_at":"2011-11-24T10:02:14Z","user":{"gravatar_id":"cd7f456b9fb41dc2acc016675728c895","id":973909,"url":"https://api.github.com/users/barclayadam","login":"barclayadam","avatar_url":"https://secure.gravatar.com/avatar/cd7f456b9fb41dc2acc016675728c895?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"Andrew,\r\n\r\nAfter upgrading to 0.9.2 I have that the use of local external references no longer works due to the check for IsUrl() in src/Cassette/Scripts/ExternalScriptBundle.cs (ln 52).\r\n\r\nWe have a JS file that is generated on the fly from the server which we want to manage as if it was external. Prior to upgrading I was able to add an external module using a local path (e.g. './myFIle.js') which worked fine.\r\n\r\nCan this be reverted to allow relative URLs again.\r\n\r\nThanks,\r\nAdam","assignee":null,"id":2332291,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":102,"title":"'External' bundle no longer works if the URL is local","closed_at":null,"html_url":"https://github.com/andrewdavey/cassette/issues/102","milestone":null,"url":"https://api.github.com/repos/andrewdavey/cassette/issues/102"},"action":"created","comment":{"created_at":"2011-11-24T10:02:14Z","updated_at":"2011-11-24T10:02:14Z","user":{"gravatar_id":"cd7f456b9fb41dc2acc016675728c895","id":973909,"url":"https://api.github.com/users/barclayadam","login":"barclayadam","avatar_url":"https://secure.gravatar.com/avatar/cd7f456b9fb41dc2acc016675728c895?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Yeah that bis correct. The JS we are generating contains definitions of commands (in the CQRS sense) that have been developed on the server, to include things such as validation details that can be automatically applied on the client-side.\r\n\r\nThere is probably a better way to do it (e.g. use T4 templates, post-build step or something similar) to get compile-time output but for now the simple case of using Razor / MVC has been working well.","id":2860826,"url":"https://api.github.com/repos/andrewdavey/cassette/issues/comments/2860826"}}