• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ReactiveX / rxjs / 3455
97%

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2016 05:38PM UTC
Jobs 1
Files 341
Run time 31s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3455

push

travis-ci

jayphelps
fix(AjaxObservable): return null value from JSON.Parse (#1904)

* Return null value from JSON.Parse

JSON.parse('') will throw a syntax error (in any browser). Fix is to return a null value. I saw this when my server returned HTTP 204 No Content.

* added ajax tests for 204 No Content

* mock the behavior of IE
unit test for IE

* pascal case class name.
added missing semicolon.

* Use 'null' instead of '' for JSON.parse

* remove empty constructor

* fix(AjaxObservable): return null value from JSON.Parse

JSON.parse('') will throw a syntax error (in any browser). Fix is to return a null value.
This happens during an HTTP 204 'No Content' in IE.
Added a mock for InternetExplorer. Added unit tests for HTTP 204.

closes #1381

6497 of 6690 relevant lines covered (97.12%)

610.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3455.1 31 Aug 2016 05:38PM UTC 0
97.12
Travis Job 3455.1
Source Files on build 3455
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3455
  • 6ba374e5 on github
  • Prev Build on master (#3451)
  • Next Build on master (#3457)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc