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

Parse Syntax Error when using ".on" Listener #56

Open
JasonBrannon opened this issue Jul 1, 2016 · 0 comments
Open

Parse Syntax Error when using ".on" Listener #56

JasonBrannon opened this issue Jul 1, 2016 · 0 comments

Comments

@JasonBrannon
Copy link

When attempting to configure dc Listener

Receive a "unable to evaldcOn:'filtered', filterCalled();" error when configuring the .on listener:

Syntax Error: Token ',' is an unexpected token at column 11 of the expression ['filtered', filterCalled();] starting at [, filterCalled()].

//Function within controller scope:
$scope.filterCalled = function() {
console.log("Filtered Called ")
}

//Control

<div dc-chart="pieChart "
dc-width="160 "
dc-height="160 "
dc-on="'filtered', filterCalled() "
dc-inner-radius="60 "
dc-dimension="certDim "
dc-group="certGrp "
class="dc-chart "></div>
`

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

No branches or pull requests

1 participant