Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editionView: ma-reference-many-field broken in Safari #610

Closed
toxsick opened this issue Aug 24, 2015 · 0 comments
Closed

editionView: ma-reference-many-field broken in Safari #610

toxsick opened this issue Aug 24, 2015 · 0 comments
Assignees

Comments

@toxsick
Copy link

toxsick commented Aug 24, 2015

Hey guys,

when I use a reference_many field in an editionView I get the following error:

[Error] Error: Can't find variable: Symbol
value@http://ng-admin.marmelab.com/bower_components/ng-admin/build/ng-admin.min.js:15:77757
value@http://ng-admin.marmelab.com/bower_components/ng-admin/build/ng-admin.min.js:18:16934
link@http://ng-admin.marmelab.com/bower_components/ng-admin/build/ng-admin.min.js:17:8304
http://ng-admin.marmelab.com/bower_components/angular/angular.js:8284:49
invokeLinkFn@http://ng-admin.marmelab.com/bower_components/angular/angular.js:8290:15
nodeLinkFn@http://ng-admin.marmelab.com/bower_components/angular/angular.js:7800:23
compositeLinkFn@http://ng-admin.marmelab.com/bower_components/angular/angular.js:7149:23
compositeLinkFn@http://ng-admin.marmelab.com/bower_components/angular/angular.js:7152:24
publicLinkFn@http://ng-admin.marmelab.com/bower_components/angular/angular.js:7028:45
boundTranscludeFn@http://ng-admin.marmelab.com/bower_components/angular/angular.js:7167:28
controllersBoundTransclude@http://ng-admin.marmelab.com/bower_components/angular/angular.js:7827:35
http://ng-admin.marmelab.com/bower_components/angular/angular.js:25397:42
forEach@http://ng-admin.marmelab.com/bower_components/angular/angular.js:326:24
ngSwitchWatchAction@http://ng-admin.marmelab.com/bower_components/angular/angular.js:25396:18
$digest@http://ng-admin.marmelab.com/bower_components/angular/angular.js:14397:31
http://ng-admin.marmelab.com/bower_components/angular/angular.js:14594:33
completeOutstandingRequest@http://ng-admin.marmelab.com/bower_components/angular/angular.js:4940:15
http://ng-admin.marmelab.com/bower_components/angular/angular.js:5328:33 <ma-reference-many-field field="::field" value="entry.values[field.name()]" datastore="::datastore">
    (anonyme Funktion) (angular.js, line 11707)
    (anonyme Funktion) (angular.js, line 8628)
    invokeLinkFn (angular.js, line 8292)
    nodeLinkFn (angular.js, line 7800)
    compositeLinkFn (angular.js, line 7149)
    compositeLinkFn (angular.js, line 7152)
    publicLinkFn (angular.js, line 7028)
    boundTranscludeFn (angular.js, line 7167)
    controllersBoundTransclude (angular.js, line 7827)
    (anonyme Funktion) (angular.js, line 25397)
    forEach (angular.js, line 326)
    ngSwitchWatchAction (angular.js, line 25396)
    $digest (angular.js, line 14397)
    (anonyme Funktion) (angular.js, line 14594)
    completeOutstandingRequest (angular.js, line 4940)
    (anonyme Funktion) (angular.js, line 5328)

Here is a screenshot from the ng-admin demo:

angular_admin

I'm using Safari 8.0.7. With Chrome everything works fine. Could this be something similar like in #572? The variable is also named datastore, not dataStore.

Best regards,
Hannes

fzaninotto added a commit to marmelab/admin-config that referenced this issue Aug 24, 2015
Babel transpiles for...of to ES6 Symbol, which is not supported on
Safari. Until we really need for___of, I refactored the code to avoid
adding the shim.

Closes marmelab/ng-admin#610
@fzaninotto fzaninotto self-assigned this Aug 24, 2015
fzaninotto added a commit that referenced this issue Aug 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants