-
Notifications
You must be signed in to change notification settings - Fork 108
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
base: master
Are you sure you want to change the base?
Conversation
src/js/pdf-viewer-toolbar.js
Outdated
link: function(scope, element, attrs) { | ||
var id = scope.delegateHandle; | ||
var id = attrs.delegateHandle; | ||
console.log('pdfViewer Toolbar ID: ', id); |
There was a problem hiding this comment.
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.
src/js/pdf-viewer.js
Outdated
@@ -12,6 +12,7 @@ angular.module('pdf') | |||
controller: 'PdfCtrl', | |||
link: function(scope, element, attrs) { | |||
scope.id = scope.delegateHandle; | |||
console.log('pdfViewer id: ', scope.id); |
There was a problem hiding this comment.
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"?> |
There was a problem hiding this comment.
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
No description provided.