From 809f942f6a407f8281b14821780dcf51185e5fc7 Mon Sep 17 00:00:00 2001 From: Tyler Hunt Date: Thu, 29 Mar 2012 09:43:50 -0700 Subject: [PATCH] Document the alternative use of the manifest file. --- CHANGELOG.md | 1 + README.md | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96d6298..04f151a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Gauges::Rails 0.2.1 * Ensure `gauges.js` is added to the list of assets to be precompiled. +* Document the use of the tracking code in the manifest file. ## Gauges::Rails 0.2.0 diff --git a/README.md b/README.md index c8b312e..5e1ba97 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,12 @@ Or, if your template is using Haml: = javascript_include_tag('gauges') +While Gauges suggests placing this code right before the closing </body> +tag, if you'd rather add it inline with the rest of your JavaScript code, you +can add it to the bottom of your `app/assets/javascripts/application.js` file: + + //= require gauges + ## Contributing