Skip to content

Commit cd46aa8

Browse files
rocky-jaiswalbtford
authored andcommitted
fix(coffee): remove the semi-colon from the coffee script templates
Signed-off-by: Rocky Jaiswal <rocky.jaiswal@gmail.com>
1 parent 21f00e5 commit cd46aa8

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

templates/coffeescript-min/spec/controller.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ describe 'Controller: <%= _.classify(name) %>Ctrl', () ->
1616
}
1717

1818
it 'should attach a list of awesomeThings to the scope', () ->
19-
expect(scope.awesomeThings.length).toBe 3;
19+
expect(scope.awesomeThings.length).toBe 3

templates/coffeescript-min/spec/filter.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ describe 'Filter: <%= _.camelize(name) %>', () ->
1212

1313
it 'should return the input prefixed with "<%= _.camelize(name) %> filter:"', () ->
1414
text = 'angularjs'
15-
expect(<%= _.camelize(name) %> text).toBe ('<%= _.camelize(name) %> filter: ' + text);
15+
expect(<%= _.camelize(name) %> text).toBe ('<%= _.camelize(name) %> filter: ' + text)

templates/coffeescript-min/spec/service.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ describe 'Service: <%= _.camelize(name) %>', () ->
1111
<%= _.camelize(name) %> = _<%= _.camelize(name) %>_
1212

1313
it 'should do something', () ->
14-
expect(!!<%= _.camelize(name) %>).toBe true;
14+
expect(!!<%= _.camelize(name) %>).toBe true

templates/coffeescript/spec/controller.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ describe 'Controller: <%= _.classify(name) %>Ctrl', () ->
1616
}
1717

1818
it 'should attach a list of awesomeThings to the scope', () ->
19-
expect(scope.awesomeThings.length).toBe 3;
19+
expect(scope.awesomeThings.length).toBe 3

templates/coffeescript/spec/filter.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ describe 'Filter: <%= _.camelize(name) %>', () ->
1212

1313
it 'should return the input prefixed with "<%= _.camelize(name) %> filter:"', () ->
1414
text = 'angularjs'
15-
expect(<%= _.camelize(name) %> text).toBe ('<%= _.camelize(name) %> filter: ' + text);
15+
expect(<%= _.camelize(name) %> text).toBe ('<%= _.camelize(name) %> filter: ' + text)

templates/coffeescript/spec/service.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ describe 'Service: <%= _.camelize(name) %>', () ->
1111
<%= _.camelize(name) %> = _<%= _.camelize(name) %>_
1212

1313
it 'should do something', () ->
14-
expect(!!<%= _.camelize(name) %>).toBe true;
14+
expect(!!<%= _.camelize(name) %>).toBe true

0 commit comments

Comments
 (0)