Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

using backbone.adal with marionette AppRoutes #1

Open
yashari01 opened this issue Sep 19, 2017 · 1 comment
Open

using backbone.adal with marionette AppRoutes #1

yashari01 opened this issue Sep 19, 2017 · 1 comment

Comments

@yashari01
Copy link

Is backbone.adal can be used with marionette routing systeme, if yes how that can be done
Thanks

@RobinHerbots
Copy link
Owner

@yashari01,

Not out of the box, but as the Marionette.AppRouter is an extension on Backbone.Router, it would be possible.

maybe you can try: (let me know if it works)

import Backbone from 'backbone';
import _ from 'underscore';
import  "backone.adal";

Backbone.Router = Backbone.AdalRouter;

import the approuter from marionette

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants