Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add note about disabling deps.js in readme

  • Loading branch information...
commit 6a13edf63e7b1cf9098c6c87e96576e064d09251 1 parent 2c25904
@igrigorik authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.md
View
8 README.md
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.