You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ModelStore.prototype.set = function(model) {
var existingAttrs, id, key, modelName, newAttrs;
id = model.get(model.idAttribute);
modelName = this.modelUtils.modelName(model.constructor);
if (modelName == null) {
throw new Error('Undefined modelName for model');
}
The text was updated successfully, but these errors were encountered:
the issue here is that when modelName is returned as an empty string, IE doesn't see it as a string, it is undefined. We monkey patched it so that f (modelName == null) { used a strict check, f (modelName === null) {
I have used rendr app . But it is not working IE browser as i include
as well as this one also
https://github.com/es-shims/es5-shim
And I am facing following issue IE browser
: Undefined modelName for model
here is code for issue is coming up .
ModelStore.prototype = Object.create(Super.prototype);
ModelStore.prototype.constructor = ModelStore;
ModelStore.prototype.set = function(model) {
var existingAttrs, id, key, modelName, newAttrs;
id = model.get(model.idAttribute);
modelName = this.modelUtils.modelName(model.constructor);
if (modelName == null) {
throw new Error('Undefined modelName for model');
}
The text was updated successfully, but these errors were encountered: