From cd46aa88953e60d81dfef64b999f751dc4468ab7 Mon Sep 17 00:00:00 2001 From: Rocky Jaiswal Date: Fri, 26 Jul 2013 12:15:38 +0530 Subject: [PATCH] fix(coffee): remove the semi-colon from the coffee script templates Signed-off-by: Rocky Jaiswal --- templates/coffeescript-min/spec/controller.coffee | 2 +- templates/coffeescript-min/spec/filter.coffee | 2 +- templates/coffeescript-min/spec/service.coffee | 2 +- templates/coffeescript/spec/controller.coffee | 2 +- templates/coffeescript/spec/filter.coffee | 2 +- templates/coffeescript/spec/service.coffee | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/coffeescript-min/spec/controller.coffee b/templates/coffeescript-min/spec/controller.coffee index 432a629e7..787c6924e 100644 --- a/templates/coffeescript-min/spec/controller.coffee +++ b/templates/coffeescript-min/spec/controller.coffee @@ -16,4 +16,4 @@ describe 'Controller: <%= _.classify(name) %>Ctrl', () -> } it 'should attach a list of awesomeThings to the scope', () -> - expect(scope.awesomeThings.length).toBe 3; + expect(scope.awesomeThings.length).toBe 3 diff --git a/templates/coffeescript-min/spec/filter.coffee b/templates/coffeescript-min/spec/filter.coffee index 4e1151027..765e2fca0 100644 --- a/templates/coffeescript-min/spec/filter.coffee +++ b/templates/coffeescript-min/spec/filter.coffee @@ -12,4 +12,4 @@ describe 'Filter: <%= _.camelize(name) %>', () -> it 'should return the input prefixed with "<%= _.camelize(name) %> filter:"', () -> text = 'angularjs' - expect(<%= _.camelize(name) %> text).toBe ('<%= _.camelize(name) %> filter: ' + text); + expect(<%= _.camelize(name) %> text).toBe ('<%= _.camelize(name) %> filter: ' + text) diff --git a/templates/coffeescript-min/spec/service.coffee b/templates/coffeescript-min/spec/service.coffee index 84bf48f8a..2610aeb10 100644 --- a/templates/coffeescript-min/spec/service.coffee +++ b/templates/coffeescript-min/spec/service.coffee @@ -11,4 +11,4 @@ describe 'Service: <%= _.camelize(name) %>', () -> <%= _.camelize(name) %> = _<%= _.camelize(name) %>_ it 'should do something', () -> - expect(!!<%= _.camelize(name) %>).toBe true; + expect(!!<%= _.camelize(name) %>).toBe true diff --git a/templates/coffeescript/spec/controller.coffee b/templates/coffeescript/spec/controller.coffee index 432a629e7..787c6924e 100644 --- a/templates/coffeescript/spec/controller.coffee +++ b/templates/coffeescript/spec/controller.coffee @@ -16,4 +16,4 @@ describe 'Controller: <%= _.classify(name) %>Ctrl', () -> } it 'should attach a list of awesomeThings to the scope', () -> - expect(scope.awesomeThings.length).toBe 3; + expect(scope.awesomeThings.length).toBe 3 diff --git a/templates/coffeescript/spec/filter.coffee b/templates/coffeescript/spec/filter.coffee index 4e1151027..765e2fca0 100644 --- a/templates/coffeescript/spec/filter.coffee +++ b/templates/coffeescript/spec/filter.coffee @@ -12,4 +12,4 @@ describe 'Filter: <%= _.camelize(name) %>', () -> it 'should return the input prefixed with "<%= _.camelize(name) %> filter:"', () -> text = 'angularjs' - expect(<%= _.camelize(name) %> text).toBe ('<%= _.camelize(name) %> filter: ' + text); + expect(<%= _.camelize(name) %> text).toBe ('<%= _.camelize(name) %> filter: ' + text) diff --git a/templates/coffeescript/spec/service.coffee b/templates/coffeescript/spec/service.coffee index 84bf48f8a..2610aeb10 100644 --- a/templates/coffeescript/spec/service.coffee +++ b/templates/coffeescript/spec/service.coffee @@ -11,4 +11,4 @@ describe 'Service: <%= _.camelize(name) %>', () -> <%= _.camelize(name) %> = _<%= _.camelize(name) %>_ it 'should do something', () -> - expect(!!<%= _.camelize(name) %>).toBe true; + expect(!!<%= _.camelize(name) %>).toBe true