"TypeError: Attempted to assign to readonly property" on Safari 6 #393

yagudaev opened this Issue Aug 11, 2013 · 0 comments


None yet
2 participants

Safari 6 seems to throw an error on the following line (494):

this.reverseRelation.type = !_.isString( this.reverseRelation.type ) ? this.reverseRelation.type :
  Backbone[ this.reverseRelation.type ] || Backbone.Relational.store.getObjectByName( this.reverseRelation.type );

Error Message: "TypeError: Attempted to assign to readonly property"
Version 0.8.5

The workaround for now is to remove the strict attribute ("use strict") at the top of the backbone-relational.js file. But I would like to see it fixed. I found the same problem and workaround here: jrburke/requirejs#392

@ghost ghost referenced this issue in conversejs/converse.js Jul 17, 2014


[Safari v7.0.5] TypeError: Attempted to assign to readonly property. #196

@bpatram bpatram added the bug label Mar 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment