meteor-babel icon indicating copy to clipboard operation
meteor-babel copied to clipboard

Meteor router extends doesn't work properly with es6.js route file

Open dearlordylord opened this issue 10 years ago • 3 comments

I create issue here as well as in https://github.com/iron-meteor/iron-router/issues/1328

https://gist.github.com/Firfi/3c0950b57497bdc2a96e

error is Error: Handler with name 'onBeforeAction' already exists., it appears only when I visit the route

dearlordylord avatar Apr 27 '15 09:04 dearlordylord

It doesn't seem to me a grigio:babel issue. Have you tried to use .js instead .jsx or .es6.js to see if happens as well in the current javascript?

grigio avatar Apr 27 '15 10:04 grigio

Sure. It doesn't happen with .js and same syntax.

dearlordylord avatar Apr 27 '15 10:04 dearlordylord

Mhmm it could be an issue similar to #5

grigio avatar Apr 27 '15 10:04 grigio