Browse Source

Move comment

pull/1446/head
Artur Arseniev 8 years ago
parent
commit
3bf4587048
  1. 3
      docs/guides/Custom-CSS-parser.md

3
docs/guides/Custom-CSS-parser.md

@ -34,7 +34,6 @@ Unfortunately, we have discovered that the CSSOM generated by browsers are highl
So, for our case we just take in account a simple rule, we'll parse it and print the CSSOM result on screen.
```html
<!-- We use ES5 just to make the code be more cross-browser without the need to be compiled -->
<h1>To parse</h1>
<pre id="css-to-parse">
.simple-class {
@ -52,6 +51,8 @@ So, for our case we just take in account a simple rule, we'll parse it and print
<pre id="result"></pre>
<script>
// We use ES5 just to make it more cross-browser, without the need of being compiled
function parse(str) {
var result = [];
// Create the element which will contain the style to parse

Loading…
Cancel
Save