diff options
| author | rodyhaddad | 2013-10-30 15:14:00 -0400 | 
|---|---|---|
| committer | Igor Minar | 2013-11-22 00:19:08 -0800 | 
| commit | 40647b179c473f3f470bb1b3237d6f006269582f (patch) | |
| tree | 3b194359bc7b4e2c6b725fd5a315f06b4ee4857b /test/ng/exceptionHandlerSpec.js | |
| parent | 0421cb4200e672818ed10996e92311404c150c3a (diff) | |
| download | angular.js-40647b179c473f3f470bb1b3237d6f006269582f.tar.bz2 | |
fix($parse): allow for new lines in expr when promise unwrapping is on
Previously, when unwrapping promises was set to `true`,
an error would occur if a parsed expression had a
new line in it.
This was because when generating the `evaledFnGetter` code,
a new line in an parsed expression would create a new line
in a JS string in that code, which is illegal. That is:
```js
pw("A+
B")
```
Closes #4718
Diffstat (limited to 'test/ng/exceptionHandlerSpec.js')
0 files changed, 0 insertions, 0 deletions
