Skip to content

Commit 382e32d

Browse files
committed
Updated dependencies
1 parent 776b091 commit 382e32d

14 files changed

+141
-129
lines changed

Source/Samples/SampleMvc/Exceptionless.SampleMvc.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<Private>True</Private>
5252
</Reference>
5353
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
54-
<HintPath>..\..\..\packages\Newtonsoft.Json.8.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
54+
<HintPath>..\..\..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
5555
<Private>True</Private>
5656
</Reference>
5757
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
@@ -143,9 +143,9 @@
143143
<ItemGroup>
144144
<Content Include="Global.asax" />
145145
<Content Include="packages.config" />
146-
<None Include="Scripts\jquery-2.2.0.intellisense.js" />
147-
<Content Include="Scripts\jquery-2.2.0.js" />
148-
<Content Include="Scripts\jquery-2.2.0.min.js" />
146+
<None Include="Scripts\jquery-2.2.2.intellisense.js" />
147+
<Content Include="Scripts\jquery-2.2.2.js" />
148+
<Content Include="Scripts\jquery-2.2.2.min.js" />
149149
<Content Include="Web.config">
150150
<SubType>Designer</SubType>
151151
</Content>
@@ -191,7 +191,7 @@
191191
<Content Include="Views\Shared\NotFound.cshtml" />
192192
</ItemGroup>
193193
<ItemGroup>
194-
<Content Include="Scripts\jquery-2.2.0.min.map" />
194+
<Content Include="Scripts\jquery-2.2.2.min.map" />
195195
</ItemGroup>
196196
<PropertyGroup>
197197
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion>

Source/Samples/SampleMvc/Scripts/jquery-2.2.0.min.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

Source/Samples/SampleMvc/Scripts/jquery-2.2.0.min.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

Source/Samples/SampleMvc/Scripts/jquery-2.2.0.js renamed to Source/Samples/SampleMvc/Scripts/jquery-2.2.2.js

Lines changed: 60 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* jQuery JavaScript Library v2.2.0
2+
* jQuery JavaScript Library v2.2.2
33
* http://jquery.com/
44
*
55
* Includes Sizzle.js
@@ -9,7 +9,7 @@
99
* Released under the MIT license
1010
* http://jquery.org/license
1111
*
12-
* Date: 2016-01-08T20:02Z
12+
* Date: 2016-03-17T17:51Z
1313
*/
1414

1515
(function( global, factory ) {
@@ -65,7 +65,7 @@ var support = {};
6565

6666

6767
var
68-
version = "2.2.0",
68+
version = "2.2.2",
6969

7070
// Define a local copy of jQuery
7171
jQuery = function( selector, context ) {
@@ -276,6 +276,7 @@ jQuery.extend( {
276276
},
277277

278278
isPlainObject: function( obj ) {
279+
var key;
279280

280281
// Not plain objects:
281282
// - Any object or value whose internal [[Class]] property is not "[object Object]"
@@ -285,14 +286,18 @@ jQuery.extend( {
285286
return false;
286287
}
287288

289+
// Not own constructor property must be Object
288290
if ( obj.constructor &&
289-
!hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) {
291+
!hasOwn.call( obj, "constructor" ) &&
292+
!hasOwn.call( obj.constructor.prototype || {}, "isPrototypeOf" ) ) {
290293
return false;
291294
}
292295

293-
// If the function hasn't returned already, we're confident that
294-
// |obj| is a plain object, created by {} or constructed with new Object
295-
return true;
296+
// Own properties are enumerated firstly, so to speed up,
297+
// if last one is own, then all properties are own
298+
for ( key in obj ) {}
299+
300+
return key === undefined || hasOwn.call( obj, key );
296301
},
297302

298303
isEmptyObject: function( obj ) {
@@ -4479,7 +4484,7 @@ function on( elem, types, selector, data, fn, one ) {
44794484
if ( fn === false ) {
44804485
fn = returnFalse;
44814486
} else if ( !fn ) {
4482-
return this;
4487+
return elem;
44834488
}
44844489

44854490
if ( one === 1 ) {
@@ -5128,14 +5133,14 @@ var
51285133
rscriptTypeMasked = /^true\/(.*)/,
51295134
rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
51305135

5136+
// Manipulating tables requires a tbody
51315137
function manipulationTarget( elem, content ) {
5132-
if ( jQuery.nodeName( elem, "table" ) &&
5133-
jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) {
5134-
5135-
return elem.getElementsByTagName( "tbody" )[ 0 ] || elem;
5136-
}
5138+
return jQuery.nodeName( elem, "table" ) &&
5139+
jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ?
51375140

5138-
return elem;
5141+
elem.getElementsByTagName( "tbody" )[ 0 ] ||
5142+
elem.appendChild( elem.ownerDocument.createElement( "tbody" ) ) :
5143+
elem;
51395144
}
51405145

51415146
// Replace/restore the type attribute of script elements for safe DOM manipulation
@@ -5642,7 +5647,7 @@ var getStyles = function( elem ) {
56425647
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
56435648
var view = elem.ownerDocument.defaultView;
56445649

5645-
if ( !view.opener ) {
5650+
if ( !view || !view.opener ) {
56465651
view = window;
56475652
}
56485653

@@ -5791,15 +5796,18 @@ function curCSS( elem, name, computed ) {
57915796
style = elem.style;
57925797

57935798
computed = computed || getStyles( elem );
5799+
ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined;
5800+
5801+
// Support: Opera 12.1x only
5802+
// Fall back to style even without computed
5803+
// computed is undefined for elems on document fragments
5804+
if ( ( ret === "" || ret === undefined ) && !jQuery.contains( elem.ownerDocument, elem ) ) {
5805+
ret = jQuery.style( elem, name );
5806+
}
57945807

57955808
// Support: IE9
57965809
// getPropertyValue is only needed for .css('filter') (#12537)
57975810
if ( computed ) {
5798-
ret = computed.getPropertyValue( name ) || computed[ name ];
5799-
5800-
if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
5801-
ret = jQuery.style( elem, name );
5802-
}
58035811

58045812
// A tribute to the "awesome hack by Dean Edwards"
58055813
// Android Browser returns percentage for some values,
@@ -7322,6 +7330,12 @@ jQuery.extend( {
73227330
}
73237331
} );
73247332

7333+
// Support: IE <=11 only
7334+
// Accessing the selectedIndex property
7335+
// forces the browser to respect setting selected
7336+
// on the option
7337+
// The getter ensures a default option is selected
7338+
// when in an optgroup
73257339
if ( !support.optSelected ) {
73267340
jQuery.propHooks.selected = {
73277341
get: function( elem ) {
@@ -7330,6 +7344,16 @@ if ( !support.optSelected ) {
73307344
parent.parentNode.selectedIndex;
73317345
}
73327346
return null;
7347+
},
7348+
set: function( elem ) {
7349+
var parent = elem.parentNode;
7350+
if ( parent ) {
7351+
parent.selectedIndex;
7352+
7353+
if ( parent.parentNode ) {
7354+
parent.parentNode.selectedIndex;
7355+
}
7356+
}
73337357
}
73347358
};
73357359
}
@@ -7524,7 +7548,8 @@ jQuery.fn.extend( {
75247548

75257549

75267550

7527-
var rreturn = /\r/g;
7551+
var rreturn = /\r/g,
7552+
rspaces = /[\x20\t\r\n\f]+/g;
75287553

75297554
jQuery.fn.extend( {
75307555
val: function( value ) {
@@ -7600,9 +7625,15 @@ jQuery.extend( {
76007625
option: {
76017626
get: function( elem ) {
76027627

7603-
// Support: IE<11
7604-
// option.value not trimmed (#14858)
7605-
return jQuery.trim( elem.value );
7628+
var val = jQuery.find.attr( elem, "value" );
7629+
return val != null ?
7630+
val :
7631+
7632+
// Support: IE10-11+
7633+
// option.text throws exceptions (#14686, #14858)
7634+
// Strip and collapse whitespace
7635+
// https://html.spec.whatwg.org/#strip-and-collapse-whitespace
7636+
jQuery.trim( jQuery.text( elem ) ).replace( rspaces, " " );
76067637
}
76077638
},
76087639
select: {
@@ -7655,7 +7686,7 @@ jQuery.extend( {
76557686
while ( i-- ) {
76567687
option = options[ i ];
76577688
if ( option.selected =
7658-
jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1
7689+
jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1
76597690
) {
76607691
optionSet = true;
76617692
}
@@ -7849,7 +7880,7 @@ jQuery.extend( jQuery.event, {
78497880
// But now, this "simulate" function is used only for events
78507881
// for which stopPropagation() is noop, so there is no need for that anymore.
78517882
//
7852-
// For the compat branch though, guard for "click" and "submit"
7883+
// For the 1.x branch though, guard for "click" and "submit"
78537884
// events is still used, but was moved to jQuery.event.stopPropagation function
78547885
// because `originalEvent` should point to the original event for the constancy
78557886
// with other events and for more focused logic
@@ -9350,18 +9381,6 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
93509381

93519382

93529383

9353-
// Support: Safari 8+
9354-
// In Safari 8 documents created via document.implementation.createHTMLDocument
9355-
// collapse sibling forms: the second one becomes a child of the first one.
9356-
// Because of that, this security measure has to be disabled in Safari 8.
9357-
// https://bugs.webkit.org/show_bug.cgi?id=137337
9358-
support.createHTMLDocument = ( function() {
9359-
var body = document.implementation.createHTMLDocument( "" ).body;
9360-
body.innerHTML = "<form></form><form></form>";
9361-
return body.childNodes.length === 2;
9362-
} )();
9363-
9364-
93659384
// Argument "data" should be string of html
93669385
// context (optional): If specified, the fragment will be created in this context,
93679386
// defaults to document
@@ -9374,12 +9393,7 @@ jQuery.parseHTML = function( data, context, keepScripts ) {
93749393
keepScripts = context;
93759394
context = false;
93769395
}
9377-
9378-
// Stop scripts or inline event handlers from being executed immediately
9379-
// by using document.implementation
9380-
context = context || ( support.createHTMLDocument ?
9381-
document.implementation.createHTMLDocument( "" ) :
9382-
document );
9396+
context = context || document;
93839397

93849398
var parsed = rsingleTag.exec( data ),
93859399
scripts = !keepScripts && [];
@@ -9619,11 +9633,8 @@ jQuery.fn.extend( {
96199633
}
96209634

96219635
// Add offsetParent borders
9622-
// Subtract offsetParent scroll positions
9623-
parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ) -
9624-
offsetParent.scrollTop();
9625-
parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ) -
9626-
offsetParent.scrollLeft();
9636+
parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true );
9637+
parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true );
96279638
}
96289639

96299640
// Subtract parent offsets and element margins

Source/Samples/SampleMvc/Scripts/jquery-2.2.2.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Source/Samples/SampleMvc/Scripts/jquery-2.2.2.min.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Source/Samples/SampleMvc/Views/Shared/_Layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
</head>
66
<body>
77
@RenderBody()
8-
<script src="~/Scripts/jquery-2.2.0.js"></script>
8+
<script src="~/Scripts/jquery-2.2.2.js"></script>
99
</body>
1010
</html>

0 commit comments

Comments
 (0)