Skip to content

Conversation

@FDT2k
Copy link

@FDT2k FDT2k commented Jan 10, 2018

I created an ES6 version because I was unable to make it work with webpack.

It's a singleton class.

The only change is that we can use arrow function and the routes callback now accepts a parameter which is the route.

Your Name and others added 3 commits January 10, 2018 15:09
Small change on callback parameters: now accepts a parameter which is the current route.

on : (route)=>{
   route.params.var ...
}
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

Successfully merging this pull request may close these issues.

1 participant