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

elem.get is not a function #26

Open
fridgerator opened this issue Aug 3, 2015 · 3 comments
Open

elem.get is not a function #26

fridgerator opened this issue Aug 3, 2015 · 3 comments

Comments

@fridgerator
Copy link

lines 58 and 62, replacing .get(0) with [0] worked locally

@fridgerator
Copy link
Author

either that or defining get on Object.prototype before using the directive

Object.prototype.get = function(x){
  return this[x];
}

@jpknapp
Copy link

jpknapp commented Aug 4, 2015

could use elem.eq()

@camel2243
Copy link

thanks, I solve the problem. Replace "elem.get(0)" with "elem.eq(0)".

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

3 participants