styx/jquery-ui-rails-cdn — pull request #10 by felixbuenemann (2014-05-04 19:11:35+00:00)
Title: Fix script newline escaping with expanded assets

If config.assets.debug = true is set, the jquery.ui.all.js is expanded into several smaller required scripts. This means the javascript_include_tag returns newlines that need to be escaped to generate valid code.

Without this fix using force: true in development generates a parsing error. Chrome reports:
```
Uncaught SyntaxError: Unexpected token ILLEGAL
```

By urlencoding the newline character we can fix this.