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

Directive should not create a new scope #65

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

Conversation

Leward
Copy link

@Leward Leward commented Sep 13, 2016

@santiagodoldan
Copy link

👍

@kirgy
Copy link

kirgy commented Feb 8, 2017

Are there plans to roll this under a version number? I've had to do nasty things with npm as this isn't commit is under HEAD rather than a tagged version.

@laura-lungoci
Copy link

👍

@@ -1,5 +1,5 @@
angular.module('angularResizable', [])
.directive('resizable', function() {
.directive('resizable', function($parse) {

Choose a reason for hiding this comment

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

Hi, consider an array literal here to include the '$parse' dependency as a string. Minifying the js can/will end up in the injector not being able to resolve the dependency. Thanks!

Copy link

Choose a reason for hiding this comment

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

Besides, not adding the dependency as string also makes it break if using strict mode.

@Leward
Copy link
Author

Leward commented Jun 25, 2017

I applied @laura-lungoci remark and rebased on the master branch.

@herejia
Copy link

herejia commented Jun 26, 2017

👍

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.

6 participants