A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jakerella/jquery-mockjax/commit/21c171e3c4fd666083de61600e630f7aa17a3089 below:

Merge pull request #353 from jakerella/header-bug · jakerella/jquery-mockjax@21c171e · GitHub

File tree Expand file treeCollapse file tree 14 files changed

+10625

-18

lines changed

Filter options

Expand file treeCollapse file tree 14 files changed

+10625

-18

lines changed Original file line number Diff line number Diff line change

@@ -7,7 +7,7 @@ before_script:

7 7

- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"

8 8

language: node_js

9 9

node_js:

10 -

- "8.9.4"

10 +

- "12.16.1"

11 11

before_install: npm install -g grunt-cli

12 12

branches:

13 13

only:

Original file line number Diff line number Diff line change

@@ -1,3 +1,8 @@

1 +

## 2020-03-30 v2.5.1

2 +

* Fixed issue with capitalization of the "content-type" header

3 +

* Added newer version of jQuery for testing

4 +

* Fixed issue where we were not running one subset of tests

5 + 1 6

## 2018-07-29 v2.5.0

2 7

* Added support for ignoring test files in the automated runs; this was necessary

3 8

because Browserstack does something weird with the console and it causes

Original file line number Diff line number Diff line change

@@ -1,9 +1,9 @@

1 1

# jQuery Mockjax: Ajax request mocking #

2 2

[http://github.com/jakerella/jquery-mockjax/](http://github.com/jakerella/jquery-mockjax/)

3 3 4 -

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/72d5f8c1c29ee60f6282d7d3fa9cb52c)](https://www.codacy.com/app/mikehostetler_1249/jquery-mockjax?utm_source=github.com&utm_medium=referral&utm_content=appendto/jquery-mockjax)

5 -

[![Travis CI Badge](https://travis-ci.org/jakerella/jquery-mockjax.svg?branch=master)](https://travis-ci.org/jakerella/jquery-mockjax)

6 -

[![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=REpZNzZpeWkzMTY2dERuTkkyYVpnTmM1SmZKMGE5cjdVNEVZNjNYelk3ND0tLXpsRGJjaTNhM0RYNnZoVjU2QXVCRnc9PQ==--7bb0e1bf6af34ba1b15703463673c619b1daf292)](https://www.browserstack.com/automate/public-build/REpZNzZpeWkzMTY2dERuTkkyYVpnTmM1SmZKMGE5cjdVNEVZNjNYelk3ND0tLXpsRGJjaTNhM0RYNnZoVjU2QXVCRnc9PQ==--7bb0e1bf6af34ba1b15703463673c619b1daf292)

4 +

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/72d5f8c1c29ee60f6282d7d3fa9cb52c)](https://www.codacy.com/app/mikehostetler_1249/jquery-mockjax)

5 +

[![Travis CI Badge](https://travis-ci.com/jakerella/jquery-mockjax.svg?branch=master)](https://travis-ci.com/jakerella/jquery-mockjax)

6 +

[![BrowserStack Status](https://automate.browserstack.com/badge.svg?badge_key=alZyelpKSWI1WlpxellOQXdPUHBMd2UvQnFmTTFnOEJ2V1FSVXo3a3JPbz0tLWk4alJ6aXJWZVV6bmN6QUZBUTQ5UVE9PQ==--fd0f170c41cb4b3eac0a35aaef09b1ead3b55a0cjquery-mockjax)](https://automate.browserstack.com/public-build/alZyelpKSWI1WlpxellOQXdPUHBMd2UvQnFmTTFnOEJ2V1FSVXo3a3JPbz0tLWk4alJ6aXJWZVV6bmN6QUZBUTQ5UVE9PQ==--fd0f170c41cb4b3eac0a35aaef09b1ead3b55a0cjquery-mockjax)

7 7 8 8

There are some minor breaking changes in v2, so if you need an older version, please check the [v1.x](https://github.com/jakerella/jquery-mockjax/tree/v1.x) branch or the list of [releases](https://github.com/jakerella/jquery-mockjax/tags) in Github.

9 9 Original file line number Diff line number Diff line change

@@ -1,9 +1,9 @@

1 1

/*! jQuery Mockjax

2 2

* A Plugin providing simple and flexible mocking of ajax requests and responses

3 3

*

4 -

* Version: 2.5.0

4 +

* Version: 2.5.1

5 5

* Home: https://github.com/jakerella/jquery-mockjax

6 -

* Copyright (c) 2018 Jordan Kasper, formerly appendTo;

6 +

* Copyright (c) 2020 Jordan Kasper, formerly appendTo;

7 7

* NOTE: This repository was taken over by Jordan Kasper (@jakerella) October, 2014

8 8

*

9 9

* Dual licensed under the MIT or GPL licenses.

@@ -424,7 +424,7 @@

424 424

var headers = '';

425 425

// since jQuery 1.9 responseText type has to match contentType

426 426

if (mockHandler.contentType) {

427 -

mockHandler.headers['Content-Type'] = mockHandler.contentType;

427 +

mockHandler.headers['content-type'] = mockHandler.contentType;

428 428

}

429 429

$.each(mockHandler.headers, function(k, v) {

430 430

headers += k + ': ' + v + '\n';

Original file line number Diff line number Diff line change

@@ -78,7 +78,8 @@ module.exports = {

78 78

'3.0.0',

79 79

'3.1.1',

80 80

'3.2.1',

81 -

'3.3.1'

81 +

'3.3.1',

82 +

'3.4.1'

82 83

]

83 84

},

84 85

requirejs: {

@@ -88,22 +89,22 @@ module.exports = {

88 89

'1.9.1',

89 90

'1.12.4',

90 91

'2.2.4',

91 -

'3.3.1'

92 +

'3.4.1'

92 93

]

93 94

},

94 95

latestInBranch: {

95 96

jQueryVersions: [

96 97

'1.12.4',

97 98

'2.2.4',

98 -

'3.3.1'

99 +

'3.4.1'

99 100

]

100 101

},

101 102

oldestAndLatest: {

102 103

jQueryVersions: [

103 104

'1.5.2',

104 105

'1.12.4',

105 106

'2.2.4',

106 -

'3.3.1'

107 +

'3.4.1'

107 108

]

108 109

},

109 110

edge: {

@@ -126,7 +127,8 @@ module.exports = {

126 127

'3.0.0',

127 128

'3.1.1',

128 129

'3.2.1',

129 -

'3.3.1'

130 +

'3.3.1',

131 +

'3.4.1'

130 132

]

131 133

},

132 134

browserify: {

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4