Skip to content

Commit

Permalink
add note about disabling deps.js in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
igrigorik committed Oct 14, 2011
1 parent 2c25904 commit 6a13edf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -66,6 +66,14 @@ gem 'closure-compiler'
config.assets.js_compressor = Closure::Compiler.new
```

If you are not using the closure compiler, then you may want to disable the dynamic deps.js loading. To do so, add the following snippet in `application.html.erb` above the javascript_include tag:

```html
<script type="text/javascript">
var CLOSURE_NO_DEPS = true;
</script>
```

### License

(MIT License) - Copyright (c) 2011 Ilya Grigorik

0 comments on commit 6a13edf

Please sign in to comment.