Skip to content

Directive should not create a new scope#65

Open
Leward wants to merge 3 commits into
Reklino:masterfrom
Leward:master
Open

Directive should not create a new scope#65
Leward wants to merge 3 commits into
Reklino:masterfrom
Leward:master

Conversation

@Leward

@Leward Leward commented Sep 13, 2016

Copy link
Copy Markdown

@santiagodoldan

Copy link
Copy Markdown

👍

@kirgy

kirgy commented Feb 8, 2017

Copy link
Copy Markdown

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
Copy Markdown

👍

Comment thread src/angular-resizable.js Outdated
@@ -1,5 +1,5 @@
angular.module('angularResizable', [])
.directive('resizable', function() {
.directive('resizable', function($parse) {

Copy link
Copy Markdown

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
Copy Markdown

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

Leward commented Jun 25, 2017

Copy link
Copy Markdown
Author

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

@herejia

herejia commented Jun 26, 2017

Copy link
Copy Markdown

👍

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