Skip to content

Commit 1b52756

Browse files
author
Chris Pearce
committed
Update README.md
1 parent ccd8c1f commit 1b52756

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ Test hooks are used for back-end tests e.g. testing some Ruby logic.
424424

425425
Tracking hooks are used for tracking elements for analytics.
426426

427-
They're simply classes namespaced like so: `.wf-test-` (test) / `.wf-track` (tracking) and follow the same naming convention as JS Hooks e.g. `.wf-test-[component]-[UI-it's-affecting]` / `.wf-track-[component]-[UI-it's-affecting]`.
427+
They're simply classes namespaced like so: `.test-` (test) / `.track` (tracking) and follow the same naming convention as JS Hooks e.g. `.test-[component]-[UI-it's-affecting]` / `.track-[component]-[UI-it's-affecting]`.
428428

429429
**Test and Tracking hooks hooks do not use BEM.**
430430

@@ -437,8 +437,8 @@ The order of the above hooks, within the `class` attribute, should be:
437437
2. Layout hook (`.l-`)
438438
3. Utility hook (`u-`)
439439
2. JS hooks (`.js-`)
440-
3. Test hooks (`.wf-test-`)
441-
4. Tracking hooks (`.wf-track-`)
440+
3. Test hooks (`.test-`)
441+
4. Tracking hooks (`.track-`)
442442

443443
Example:
444444

@@ -825,4 +825,4 @@ All of the above is about how we structure and form our CSS; they are very quant
825825
- [Our (CSS) Best Practices Are Killing US](http://www.stubbornella.org/content/2011/04/28/our-best-practices-are-killing-us/)
826826
- [Keep your CSS selectors short](http://csswizardry.com/2012/05/keep-your-css-selectors-short/)
827827
- [The single responsibility principle applied to CSS](http://csswizardry.com/2012/05/keep-your-css-selectors-short/)
828-
- [Principles for writing good CSS](http://blog.kaelig.fr/post/38377421139/principles-for-writing-good-css)
828+
- [Principles for writing good CSS](http://blog.kaelig.fr/post/38377421139/principles-for-writing-good-css)

0 commit comments

Comments
 (0)