refactor(ivy): move all styling util code into utils/styling_utils.ts (#32731)

PR Close #32731
This commit is contained in:
Matias Niemelä
2019-09-17 14:59:20 -07:00
committed by Andrew Kushnir
parent 5d12cb9fdf
commit 0450f39625
14 changed files with 13 additions and 14 deletions

View File

@ -5,7 +5,7 @@
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {normalizeIntoStylingMap as createMap} from '../../../src/render3/styling/util';
import {normalizeIntoStylingMap as createMap} from '../../../src/render3/util/styling_utils';
describe('map-based bindings', () => {
describe('StylingMapArray construction', () => {

View File

@ -7,9 +7,8 @@
*/
import {registerBinding} from '@angular/core/src/render3/styling/bindings';
import {attachStylingDebugObject} from '@angular/core/src/render3/styling/styling_debug';
import {DEFAULT_GUARD_MASK_VALUE} from '@angular/core/src/render3/styling/util';
import {allocTStylingContext} from '../../../src/render3/styling/util';
import {DEFAULT_GUARD_MASK_VALUE, allocTStylingContext} from '../../../src/render3/util/styling_utils';
describe('styling context', () => {
it('should register a series of entries into the context', () => {

View File

@ -7,7 +7,7 @@
*/
import {registerBinding} from '@angular/core/src/render3/styling/bindings';
import {NodeStylingDebug, attachStylingDebugObject} from '@angular/core/src/render3/styling/styling_debug';
import {allocTStylingContext} from '@angular/core/src/render3/styling/util';
import {allocTStylingContext} from '@angular/core/src/render3/util/styling_utils';
describe('styling debugging tools', () => {
describe('NodeStylingDebug', () => {