google / traceur-compiler

Traceur is a JavaScript.next-to-JavaScript-of-today compiler
Apache License 2.0
8.17k stars 578 forks source link

Rihno version 1_7R2 - getting error Object.defineProperty #2143

Open techhounds2015 opened 6 years ago

techhounds2015 commented 6 years ago

Hi All

we are upgrading to jQuery version 3.2.1 We have Rihno version 1_7R2 and we are getting error Object.defineProperty is not a function. I tried other new version of Rihno but nothing worked.

The reason may be Object.defineProperty is defined in JS 1.8 and rihno is in JS 1.7

can anyone of you help me to solve this ?

arv commented 6 years ago

@techhounds2015 How is this related?

techhounds2015 commented 6 years ago

It is because rihno version is defined to use all features of JS 1.7

arv commented 6 years ago

@techhounds2015 I still do not understand why this is relevant to Traceur? How is the jquery version relevant to traceur?