diff --git a/README.md b/README.md index 700e044..ad36c46 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,9 @@ elements, etc.). Here's an example: ## `custom-elements-es5-adapter.js` According to the spec, Custom Elements must be ES6 classes (https://html.spec.whatwg.org/multipage/scripting.html#custom-element-conformance). Since most projects need to support a wide range of browsers that don't necessary support ES6, it may make sense to compile your project to ES5. However, ES5-style custom element classes will **not** work with native Custom Elements because ES5-style classes cannot properly extend ES6 classes, like `HTMLElement`. -To work around this, load `custom-elements-es5-adapter.js` before declaring new Custom Elements. **The adapter must NOT be compiled.** +To work around this, load `custom-elements-es5-adapter.js` before declaring new Custom Elements. + +**The adapter must NOT be compiled.** ```html