ember.js: currentWhen.split is not a function
Upgrading from 1.12 to 1.13.9 I’m seeing a an issue using the current-when argument on a link-to helper resulting in an error Uncaught TypeError: currentWhen.split is not a function. This twiddle demonstrates the problem which seems to occur regardless of if currentWhen is defined or not.
Note that the problem doesn’t persist if I set current-when directly to a string in the template, but we need to be able to set this dynamically.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 16 (15 by maintainers)
Commits related to this issue
- [BUGFIX beta] Allow boolean values for current-when As the docs say, `A link will be active if current-when is true`. Looks like this might have been broken since 1.13 and https://github.com/emberjs/... — committed to whatthewhat/ember.js by whatthewhat 7 years ago
- [BUGFIX beta] Allow boolean values for current-when As the docs say, `A link will be active if current-when is true`. Looks like this might have been broken since 1.13 and https://github.com/emberjs/... — committed to whatthewhat/ember.js by whatthewhat 7 years ago
- [BUGFIX beta] Allow boolean values for current-when As the docs say, `A link will be active if current-when is true`. Looks like this might have been broken since 1.13 and https://github.com/emberjs/... — committed to emberjs/ember.js by whatthewhat 7 years ago
- # This is a combination of 1 commit. # This is the 1st commit message: typo in comment # The commit message #2 will be skipped: # indent yuidoc comment # The commit message #3 will be skipped: # r... — committed to emberjs/ember.js by locks 7 years ago
I’m seeing this again in current canary, not sure when it regressed