Skip to content

Commit 3c1a7da

Browse files
committed
Require each handler
1 parent 1b372ad commit 3c1a7da

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

lib/CSSStyleDeclaration.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@
66

77
const generatedProperties = require("./generated/properties");
88
const propertyDefinitions = require("./generated/propertyDefinitions");
9-
const {
10-
handleBorder,
11-
handleFlex,
12-
handlePositionShorthand,
13-
handlePositionLonghand
14-
} = require("./handlers");
9+
const { handleBorder } = require("./handlers/border");
10+
const { handleFlex } = require("./handlers/flex");
11+
const { handlePositionShorthand, handlePositionLonghand } = require("./handlers/position");
1512
const { normalizeProperties, prepareProperties, shorthandProperties } = require("./normalize");
1613
const { hasVarFunc, parseCSS, parsePropertyValue, prepareValue } = require("./parsers");
1714
const { getCache, setCache } = require("./utils/cache");

lib/handlers/index.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)