By AndrewPapale - 1/9/2025
Dave,
A collaborator has tried to use our script in the new Inquisit 7, but they are getting an error 'item' property has been deprecated, use 'items' property instead. Is there a reason for this change, as we use the item property extensively.
Thanks, Andrew
|
By Dave - 1/9/2025
+xDave, A collaborator has tried to use our script in the new Inquisit 7, but they are getting an error 'item' property has been deprecated, use 'items' property instead. Is there a reason for this change, as we use the item property extensively. Thanks, Andrew The technical reason is that Inquisit 7 adheres to and implements the JavaScript (technically ECMAscript) specification, and JavaScript / ECMAscript does not have collection properties.
That said, the script should still run and work under Inquisit 7 as long ias it is an IQX file written in legacy IQScript / IQML syntax (i.e. NOT in IQJS format and syntax). You'll get only a warning -- not an error -- about the item collection property
|
By AndrewPapale - 1/9/2025
+x+xDave, A collaborator has tried to use our script in the new Inquisit 7, but they are getting an error 'item' property has been deprecated, use 'items' property instead. Is there a reason for this change, as we use the item property extensively. Thanks, Andrew The technical reason is that Inquisit 7 adheres to and implements the JavaScript (technically ECMAscript) specification, and JavaScript / ECMAscript does not have collection properties. That said, the script should still run and work under Inquisit 7 as long ias it is an IQX file written in legacy IQScript / IQML syntax (i.e. NOT in IQJS format and syntax). You'll get only a warning -- not an error -- about the item collection property How do I tell what syntax my code is written in (it is a standard IQX file).
|
By Dave - 1/9/2025
+x+x+xDave, A collaborator has tried to use our script in the new Inquisit 7, but they are getting an error 'item' property has been deprecated, use 'items' property instead. Is there a reason for this change, as we use the item property extensively. Thanks, Andrew The technical reason is that Inquisit 7 adheres to and implements the JavaScript (technically ECMAscript) specification, and JavaScript / ECMAscript does not have collection properties. That said, the script should still run and work under Inquisit 7 as long ias it is an IQX file written in legacy IQScript / IQML syntax (i.e. NOT in IQJS format and syntax). You'll get only a warning -- not an error -- about the item collection property How do I tell what syntax my code is written in (it is a standard IQX file). If it runs under Inquisit 6, it's written in IQML / IQScript.
|
|