RobinHerbots / Inputmask

Input Mask plugin
https://robinherbots.github.io/Inputmask/
MIT License
6.4k stars 2.17k forks source link

Safari. TypeError: Attempted to assign to readonly property. #1366

Open AliveDD opened 8 years ago

AliveDD commented 8 years ago

i dont know — how it work, but if i load inputmask plugin in my app in safari i get critical err

screen shot 2016-08-16 at 12 56 13

if i remove plugin — error disappears

RobinHerbots commented 8 years ago

@AliveDD , Can you provide some more info? OS, Version Safari?

AliveDD commented 8 years ago

OSX 10.11.6 (15G31) Safari 9.1.2 (11601.7.7)

RobinHerbots commented 8 years ago

@AliveDD ,

Which version of the inputmask do you use?

Can you reproduce in a jsfiddle?

AliveDD commented 8 years ago

inputmask 3.3.2-106

RobinHerbots commented 8 years ago

I tried to reproduce via browserstack, but don't see the issue. Can you create a jsfiddle which shows the problem

AliveDD commented 8 years ago

i can try, but some later. i think its problem with integration with babel & es5

RobinHerbots commented 8 years ago

@AliveDD ,

Is is due to using es5 see issue #1217

The getPrototypeOf fn is not behaving like native.