Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 06aa615

Browse files
committed
fixup! refactor(*): separate jqLite/compile/sce camelCasing logic
1 parent 99b2dde commit 06aa615

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/jqLiteSpec.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ describe('jqLite', function() {
10661066
expect(a.style.fooBar).toBe('bar');
10671067
});
10681068

1069-
it('should covert dash-separated strings to camelCase', function() {
1069+
it('should convert dash-separated strings to camelCase', function() {
10701070
var jqA = jqLite(a);
10711071

10721072
jqA.css('foo-bar', 'foo');
@@ -1078,7 +1078,7 @@ describe('jqLite', function() {
10781078
expect(a.style['foo:bar_baz']).toBe('baz');
10791079
});
10801080

1081-
it('should covert leading dashes followed by a lowercase letter', function() {
1081+
it('should convert leading dashes followed by a lowercase letter', function() {
10821082
var jqA = jqLite(a);
10831083

10841084
jqA.css('-foo-bar', 'foo');
@@ -1097,7 +1097,7 @@ describe('jqLite', function() {
10971097
expect(a.style['foo-42- A-B']).toBe('foo');
10981098
});
10991099

1100-
it('should covert the -ms- prefix to ms instead of Ms', function() {
1100+
it('should convert the -ms- prefix to ms instead of Ms', function() {
11011101
var jqA = jqLite(a);
11021102

11031103
jqA.css('-ms-foo-bar', 'foo');
@@ -2373,21 +2373,21 @@ describe('jqLite', function() {
23732373
expect(kebabToCamel('fooBar')).toBe('fooBar');
23742374
});
23752375

2376-
it('should covert dash-separated strings to camelCase', function() {
2376+
it('should convert dash-separated strings to camelCase', function() {
23772377
expect(kebabToCamel('foo-bar')).toBe('fooBar');
23782378
expect(kebabToCamel('foo-bar-baz')).toBe('fooBarBaz');
23792379
expect(kebabToCamel('foo:bar_baz')).toBe('foo:bar_baz');
23802380
});
23812381

2382-
it('should covert leading dashes followed by a lowercase letter', function() {
2382+
it('should convert leading dashes followed by a lowercase letter', function() {
23832383
expect(kebabToCamel('-foo-bar')).toBe('FooBar');
23842384
});
23852385

2386-
it('should not convert slashes followed by a non-letter', function() {
2386+
it('should not convert dashes followed by a non-letter', function() {
23872387
expect(kebabToCamel('foo-42- -a-B')).toBe('foo-42- A-B');
23882388
});
23892389

2390-
it('should not covert browser specific css properties in a special way', function() {
2390+
it('should not convert browser specific css properties in a special way', function() {
23912391
expect(kebabToCamel('-ms-foo-bar')).toBe('MsFooBar');
23922392
expect(kebabToCamel('-moz-foo-bar')).toBe('MozFooBar');
23932393
expect(kebabToCamel('-webkit-foo-bar')).toBe('WebkitFooBar');

0 commit comments

Comments
 (0)