From 145b4bb727dc2cd74df492b72222ace78a92bc5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Wed, 12 Oct 2016 19:14:12 +0200 Subject: [PATCH] fixup! refactor(*): separate jqLite/compile/sce camelCasing logic --- test/jqLiteSpec.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/jqLiteSpec.js b/test/jqLiteSpec.js index 62d06192da14..0b54c233d43c 100644 --- a/test/jqLiteSpec.js +++ b/test/jqLiteSpec.js @@ -1066,7 +1066,7 @@ describe('jqLite', function() { expect(a.style.fooBar).toBe('bar'); }); - it('should covert dash-separated strings to camelCase', function() { + it('should convert dash-separated strings to camelCase', function() { var jqA = jqLite(a); jqA.css('foo-bar', 'foo'); @@ -1078,7 +1078,7 @@ describe('jqLite', function() { expect(a.style['foo:bar_baz']).toBe('baz'); }); - it('should covert leading dashes followed by a lowercase letter', function() { + it('should convert leading dashes followed by a lowercase letter', function() { var jqA = jqLite(a); jqA.css('-foo-bar', 'foo'); @@ -1097,7 +1097,7 @@ describe('jqLite', function() { expect(a.style['foo-42- A-B']).toBe('foo'); }); - it('should covert the -ms- prefix to ms instead of Ms', function() { + it('should convert the -ms- prefix to ms instead of Ms', function() { var jqA = jqLite(a); jqA.css('-ms-foo-bar', 'foo'); @@ -2373,21 +2373,21 @@ describe('jqLite', function() { expect(kebabToCamel('fooBar')).toBe('fooBar'); }); - it('should covert dash-separated strings to camelCase', function() { + it('should convert dash-separated strings to camelCase', function() { expect(kebabToCamel('foo-bar')).toBe('fooBar'); expect(kebabToCamel('foo-bar-baz')).toBe('fooBarBaz'); expect(kebabToCamel('foo:bar_baz')).toBe('foo:bar_baz'); }); - it('should covert leading dashes followed by a lowercase letter', function() { + it('should convert leading dashes followed by a lowercase letter', function() { expect(kebabToCamel('-foo-bar')).toBe('FooBar'); }); - it('should not convert slashes followed by a non-letter', function() { + it('should not convert dashes followed by a non-letter', function() { expect(kebabToCamel('foo-42- -a-B')).toBe('foo-42- A-B'); }); - it('should not covert browser specific css properties in a special way', function() { + it('should not convert browser specific css properties in a special way', function() { expect(kebabToCamel('-ms-foo-bar')).toBe('MsFooBar'); expect(kebabToCamel('-moz-foo-bar')).toBe('MozFooBar'); expect(kebabToCamel('-webkit-foo-bar')).toBe('WebkitFooBar');