Martin Jantosovic
732f91f5f1
Allow error and timeout using RequestStub
...
Closes #111
2015-06-05 07:12:05 +02:00
Gregg Van Hove and Noah Denton
e1d61c4143
Use travis sauce connect addon
2015-05-18 17:27:27 -07:00
Gregg Van Hove
86be5d3580
bump version to 3.1.1
2015-05-04 16:30:14 -07:00
Gregg Van Hove
35c1e4cd48
Loosen bower dependency on jasmine
...
Fixes #106
2015-04-10 13:42:12 -07:00
Gregg Van Hove
60a31169f0
Merge pull request #104 from mjeanroy/fix-97
...
Event readystatechange is triggered when headers are available
2015-04-09 13:44:38 -07:00
Mickael Jeanroy
5d96ce9609
Event readystatechange is triggered when headers are available
...
According to the specification, readyState value must
be equal to 2 and readystatechange event should be triggered
once status and headers are available.
Close #97
2015-04-09 22:27:02 +02:00
Gregg Van Hove
3212c5f04a
Merge branch 'mjeanroy-readystatechange'
...
Closes #103
2015-04-09 10:24:01 -07:00
Mickael Jeanroy
d2762c59f0
Event 'readystatechange' is now triggered
...
Close #102
2015-04-09 10:21:24 -07:00
Gregg Van Hove
eecce5403a
Merge branch 'jhamon-throw-error-when-installed-multiple-times'
2015-04-01 08:00:43 -07:00
Jen Hamon
fb5a98e63e
Throw error on duplicate calls to MockAjax#install.
...
Fixes #96
2015-04-01 08:00:23 -07:00
Gregg Van Hove
778966f60b
Merge pull request #99 from jhamon/readme-tweaks
...
Readme tweaks and updated links
2015-04-01 07:57:31 -07:00
Jen Hamon
ea68594915
Update links
2015-03-31 21:10:54 -07:00
Jen Hamon
4caea6ec1c
Add github-flavored markdown syntax highlighting
2015-03-31 19:57:09 -07:00
Jen Hamon
5b0bd44aa7
Update copyright year
2015-03-31 19:28:26 -07:00
Gregg Van Hove
96dc135a18
rename 3.1 release notes to be consistent
2015-03-12 13:15:35 -07:00
Gregg Van Hove
de8f5bc773
Bump version to 3.1.0
2015-03-12 12:56:08 -07:00
Gregg Van Hove
3a80483f30
Add version number to combined file
...
Fixes #93
2015-03-12 12:49:27 -07:00
Gregg Van Hove and Molly Trombley-McCann
55de6dffaf
Add safari 7 & 8 to browser matrix
2015-03-04 11:40:34 -08:00
Gregg Van Hove and Molly Trombley-McCann
1b6fbf2322
Merge branch 'illiptic-master'
2015-03-04 11:35:42 -08:00
Gregg Van Hove and Molly Trombley-McCann
09861cacba
Cleanup removeEventListener
...
- Add tests
- Extract an EventBus
2015-03-04 11:34:55 -08:00
Gregg Van Hove and Molly Trombley-McCann
ef26ab41af
Merge branch 'master' of https://github.com/illiptic/jasmine-ajax into illiptic-master
2015-03-04 09:42:08 -08:00
Gregg Van Hove
e2fd48f512
Merge pull request #94 from tomalec/andReturn_responseHeaders
...
Add `responseHeaders` to `andReturn` s options
2015-02-27 16:10:15 -08:00
Tomek Wytrebowicz
f0b3027f18
Add spec for responseHeaders
in andRaturn
method
2015-02-17 09:58:10 +01:00
Tomek Wytrebowicz
ccb0ae7853
Add responseHeaders
to andReturn
s options
2015-02-16 17:26:22 +01:00
slackersoft
c3639ab040
Version bump for 3.0
2015-01-26 10:19:24 -08:00
slackersoft
821c8e8edf
Fix jshint issues in Gruntfile
2015-01-26 10:15:37 -08:00
slackersoft
30ce8dcc68
Add grunt tasks for releasing packages
2015-01-26 10:02:32 -08:00
slackersoft
2d0bf42151
Include trailing newline in response headers to match browsers.
...
- Some libraries are relying on it existing, even though the specs
doesn't say it should.
Fix #91
2015-01-23 13:11:42 -08:00
slackersoft
e7ae7e02de
Bring npm and bower configurations in line with each other
2014-12-16 18:03:48 -08:00
slackersoft
e80677490a
Also test in IE 11 on travis
2014-12-16 12:02:46 -08:00
illiptic
f7bb70c0d5
concat with changes
2014-12-14 15:12:56 +01:00
illiptic
bfa6571e7c
Added removeEventListener method, and empty event parameter to the event callback
2014-12-14 15:07:10 +01:00
Gregg Van Hove
7b4c731fc9
Merge pull request #87 from Mstudio-Ishikawa/document
...
modify example code
2014-12-01 13:15:57 -08:00
slackersoft
b6c4a09943
Bump version for bower and update urls for new jasmine org
2014-12-01 13:10:17 -08:00
Mstudio-Ishikawa
d3d64a87b8
modify example code
...
'response' method is deprecated. use 'respondWith' instead of
2014-11-29 14:19:44 +09:00
Gregg Van Hove
d9da8636f9
Update travis badge
2014-11-26 22:17:15 -08:00
slackersoft
05822db1c5
Concatenate the files
2014-11-26 21:38:45 -08:00
slackersoft
b4803da4c4
Merge branch 'albertyw-master'
2014-11-26 21:26:43 -08:00
slackersoft
7446f2a190
Set response attribute for document responses
2014-11-26 21:25:49 -08:00
slackersoft
6b5cae82d5
Merge branch 'master' of https://github.com/albertyw/jasmine-ajax into albertyw-master
...
Conflicts:
lib/mock-ajax.js
spec/javascripts/fake-xml-http-request-spec.js
spec/mock-ajax-toplevel-spec.js
2014-11-25 18:41:01 -08:00
slackersoft
b66d80aee8
Add release notes
2014-11-19 12:55:23 -08:00
slackersoft
7fbcb04a26
bump version to 2.99
2014-11-18 13:28:18 -08:00
slackersoft
0d14f5729d
Deprecate the response
function on fake request.
...
Starting on #49 #60 #89
2014-11-17 13:35:55 -08:00
slackersoft
e540fcfaef
Remember to run jshint before you push...
2014-11-07 08:07:40 -08:00
slackersoft
a1c2859baf
Start progress event callbacks off as null instead of empty functions.
...
- Apparently some libraries will null them out in certain circumstances,
so make sure we handle it by default.
Fix #85
2014-11-07 07:50:33 -08:00
slackersoft
711764e290
Support listening to XHR progress events via addEventListener
...
Fixes #79
2014-11-04 07:39:23 -08:00
slackersoft
80297da4c1
Support the remainder of XHR events
...
- onloadstart
- onprogress
- onabort
- onerror
- onload
- ontimeout
- onloadend
Fixes #81 Fixes #82
2014-11-01 20:43:21 -07:00
slackersoft
9681f79ece
Fix cross browser issues for responseXML
...
- IE8 doesn't support indexOf, use our own arrayContains
- Most browsers don't allow 'text/html' when using a DOMParser, so we
won't support it for now.
- Firefox doesn't want to serialize Documents over selenium, so don't
have them in as our expected, just use instanceof ourselves
2014-11-01 16:26:12 -07:00
slackersoft
4751eaafbb
Parse responseText
into a responseXML
if the contentType is xml-ish
...
closes #55
2014-11-01 15:13:55 -07:00
Gregg Van Hove
5665351ab2
Merge pull request #76 from macroeyes/master
...
Un-pin jasmine dependency from version 2.0.0
2014-08-22 12:57:28 -07:00