Skip to content

Commit e1721fb

Browse files
committed
Merge pull request toddmotto#20 from jvandemo/master
fix(readme): update parameter names in link function of directives
2 parents ffc1339 + 22051f9 commit e1721fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ A standardised approach for developing AngularJS applications in teams. This sty
337337
function dragUpload () {
338338
return {
339339
restrict: 'EA',
340-
link: function ($scope, $element, $attrs) {
341-
$element.on('dragend', function () {
340+
link: function (scope, element, attrs) {
341+
element.on('dragend', function () {
342342
// handle drop functionality
343343
});
344344
}

0 commit comments

Comments
 (0)