Skip to content

Commit 5bba0b7

Browse files
authored
fix: compat SSR (#51)
* fix ssr * Update dom.js
1 parent 2699287 commit 5bba0b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/engine/dom.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
var transform = (function() {
2+
/* istanbul ignore next */
3+
if (typeof document === 'undefined') return 'transform';
24
var properties = [
35
'oTransform', // Opera 11.5
46
'msTransform', // IE 9

0 commit comments

Comments
 (0)