Skip to content

Commit 1fd2d1d

Browse files
committed
On https://nv.github.io/CSSOM/docs/parse.html, save the last parsed result in _last_parsed global variable.
1 parent 6b6de70 commit 1fd2d1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/parse.js

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ function outputUpdated() {
149149
if (value !== style.prevValue) {
150150
style.prevValue = value;
151151
var css = CSSOM.parse(value);
152+
window._last_parsed = css;
152153
uncircularOwnProperties(css);
153154
output.innerHTML = '';
154155
output.appendChild(inspect(css));

0 commit comments

Comments
 (0)