Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Added promises that are resolved when the menu is closed. #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added promises that are resolved when the menu is closed. #23

wants to merge 2 commits into from

Conversation

brobo
Copy link

@brobo brobo commented Aug 25, 2014

This is a small feature that I needed for a project that I am working on.
Here are my results; hopefully they can be useful to someone else!

@cironunes
Copy link
Owner

Hey @brobo, thanks for using angular-off-canvas and contributing with it.

There are some considerations before merging this PR:

Could you please make those changes?

Thanks once again.

expect(promise).toBeDefined();
});

it('should be resolved after closed', inject(function($rootScope) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of injecting $rootScope again, you can just use rootScope

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

Successfully merging this pull request may close these issues.

None yet

2 participants