Closed thinkininfinity closed 9 years ago
pre = (Array.prototype.slice
.call(styles)
.join('')
.match(/-(moz|webkit|ms)-/) || (styles.OLink === '' && ['', 'o'])
)[1]
We are searching a known prefix type, settling on Opera if none is found, because only Opera (Presto) has a -o-link
. Then you get:
pre = (['', 'o'])[1] // 'o'
Okay, i got the result, thanks.
But there is last question: I couldn't find any infomation about the property "OLink", what is it ?
You can find it here http://www.opera.com/docs/specs/opera7/
Thanks again.
What's the thinking and consecution behind this sentence?