From 4689ea27270550d938f76d14584a768ab7ac448a Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Wed, 7 Aug 2019 17:07:30 +0200 Subject: [PATCH] refactor(ivy): remove unused code (#32041) PR Close #32041 --- packages/core/src/render3/util/attrs_utils.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/core/src/render3/util/attrs_utils.ts b/packages/core/src/render3/util/attrs_utils.ts index bdf9ffdbd1..f01be94688 100644 --- a/packages/core/src/render3/util/attrs_utils.ts +++ b/packages/core/src/render3/util/attrs_utils.ts @@ -91,17 +91,6 @@ export function setUpAttributes(native: RElement, attrs: TAttributes): number { return i; } - -export function attrsStylingIndexOf(attrs: TAttributes, startIndex: number): number { - for (let i = startIndex; i < attrs.length; i++) { - const val = attrs[i]; - if (val === AttributeMarker.Classes || val === AttributeMarker.Styles) { - return i; - } - } - return -1; -} - /** * Test whether the given value is a marker that indicates that the following * attribute values in a `TAttributes` array are only the names of attributes,