Skip to content

Commit 54bee20

Browse files
author
Kevin Pheasey
committed
Remove redundant namespace declarations
1 parent 311f29a commit 54bee20

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

lib/generators/rails_script/class/templates/javascript.js.coffee

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
window.<%= RailsScript.app_namespace %> ||= {}
21
class <%= RailsScript.app_namespace %>.<%= class_name.gsub('::', '') %>
32

43
constructor: ->

lib/generators/rails_script/controller/templates/javascript.js.coffee

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
window.<%= RailsScript.app_namespace %> ||= {}
21
class <%= RailsScript.app_namespace %>.<%= controller.gsub('::', '') %> extends <%= RailsScript.app_namespace %>.Base
32

43
beforeAction: (action) =>
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
window.<%= RailsScript.app_namespace %> ||= {}

0 commit comments

Comments
 (0)