Skip to content

Instantly share code, notes, and snippets.

@AquaGeek
Created May 14, 2011 02:35
Show Gist options
  • Select an option

  • Save AquaGeek/971839 to your computer and use it in GitHub Desktop.

Select an option

Save AquaGeek/971839 to your computer and use it in GitHub Desktop.
Rails Lighthouse ticket #6706
From af612dcf8450d304551aebeb53a6835ac3951a7d Mon Sep 17 00:00:00 2001
From: jbbarth <jeanbaptiste.barth@gmail.com>
Date: Sun, 17 Apr 2011 04:03:32 +0200
Subject: [PATCH] Use the correct syntax for comment in coffeescript templates (# instead of //)
---
.../rails/assets/templates/javascript.js.coffee | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/railties/lib/rails/generators/rails/assets/templates/javascript.js.coffee b/railties/lib/rails/generators/rails/assets/templates/javascript.js.coffee
index 09b2da0..7615679 100644
--- a/railties/lib/rails/generators/rails/assets/templates/javascript.js.coffee
+++ b/railties/lib/rails/generators/rails/assets/templates/javascript.js.coffee
@@ -1,3 +1,3 @@
-// Place all the behaviors and hooks related to the matching controller here.
-// All this logic will automatically be available in application.js.
-// You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
--
1.7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment