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

Changed directive to allow dynamic #63

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

Changed directive to allow dynamic #63

wants to merge 4 commits into from

Conversation

jorgeliano-lcg
Copy link

No description provided.

link: function(scope, element, attrs) {
var id = scope.delegateHandle;
var id = attrs.delegateHandle;
console.log('pdfViewer Toolbar ID: ', id);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need console.log here? I'd prefer not to log this info.

@@ -12,6 +12,7 @@ angular.module('pdf')
controller: 'PdfCtrl',
link: function(scope, element, attrs) {
scope.id = scope.delegateHandle;
console.log('pdfViewer id: ', scope.id);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here.

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I've added .idea/ to .gitignore, let's avoid committing these files

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.

2 participants