update jquery
This commit is contained in:
Binary file not shown.
@@ -202,11 +202,13 @@
|
||||
<Content Include="fonts\fontawesome-webfont.ttf" />
|
||||
<Content Include="fonts\fontawesome-webfont.eot" />
|
||||
<None Include="Properties\PublishProfiles\IIS01.pubxml" />
|
||||
<None Include="Scripts\jquery-1.9.1.intellisense.js" />
|
||||
<Content Include="Scripts\bootstrap.js" />
|
||||
<Content Include="Scripts\bootstrap.min.js" />
|
||||
<Content Include="Scripts\jquery-1.9.1.js" />
|
||||
<Content Include="Scripts\jquery-1.9.1.min.js" />
|
||||
<None Include="Scripts\jquery-3.1.1.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-3.1.1.js" />
|
||||
<Content Include="Scripts\jquery-3.1.1.min.js" />
|
||||
<Content Include="Scripts\jquery-3.1.1.slim.js" />
|
||||
<Content Include="Scripts\jquery-3.1.1.slim.min.js" />
|
||||
<Content Include="StoricoTC.aspx" />
|
||||
<Content Include="Content\Style.css">
|
||||
<DependentUpon>Style.less</DependentUpon>
|
||||
@@ -719,7 +721,8 @@
|
||||
<None Include="Properties\PublishProfiles\Steamware.pubxml" />
|
||||
<None Include="Properties\PublishProfiles\Donati.pubxml" />
|
||||
<Content Include="Content\Style.less" />
|
||||
<Content Include="Scripts\jquery-1.9.1.min.map" />
|
||||
<Content Include="Scripts\jquery-3.1.1.slim.min.map" />
|
||||
<Content Include="Scripts\jquery-3.1.1.min.map" />
|
||||
<None Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
|
||||
Vendored
-9597
File diff suppressed because it is too large
Load Diff
Vendored
-5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+75
-62
@@ -1,4 +1,4 @@
|
||||
intellisense.annotate(jQuery, {
|
||||
intellisense.annotate(jQuery, {
|
||||
'ajax': function() {
|
||||
/// <signature>
|
||||
/// <summary>Perform an asynchronous HTTP (Ajax) request.</summary>
|
||||
@@ -21,7 +21,7 @@
|
||||
},
|
||||
'ajaxSetup': function() {
|
||||
/// <signature>
|
||||
/// <summary>Set default values for future Ajax requests.</summary>
|
||||
/// <summary>Set default values for future Ajax requests. Its use is not recommended.</summary>
|
||||
/// <param name="options" type="PlainObject">A set of key/value pairs that configure the default Ajax request. All options are optional.</param>
|
||||
/// </signature>
|
||||
},
|
||||
@@ -37,11 +37,11 @@
|
||||
/// <returns type="Boolean" />
|
||||
},
|
||||
'browser': function() {
|
||||
/// <summary>Contains flags for the useragent, read from navigator.userAgent. We recommend against using this property; please try to use feature detection instead (see jQuery.support). jQuery.browser may be moved to a plugin in a future release of jQuery.</summary>
|
||||
/// <summary>Contains flags for the useragent, read from navigator.userAgent. This property was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin. Please try to use feature detection instead.</summary>
|
||||
/// <returns type="PlainObject" />
|
||||
},
|
||||
'browser.version': function() {
|
||||
/// <summary>The version number of the rendering engine for the user's browser.</summary>
|
||||
/// <summary>The version number of the rendering engine for the user's browser. This property was removed in jQuery 1.9 and is available only through the jQuery.migrate plugin.</summary>
|
||||
/// <returns type="String" />
|
||||
},
|
||||
'Callbacks': function() {
|
||||
@@ -121,11 +121,18 @@
|
||||
/// <returns type="Object" />
|
||||
/// </signature>
|
||||
},
|
||||
'fn.extend': function() {
|
||||
/// <signature>
|
||||
/// <summary>Merge the contents of an object onto the jQuery prototype to provide new jQuery instance methods.</summary>
|
||||
/// <param name="object" type="Object">An object to merge onto the jQuery prototype.</param>
|
||||
/// <returns type="Object" />
|
||||
/// </signature>
|
||||
},
|
||||
'get': function() {
|
||||
/// <signature>
|
||||
/// <summary>Load data from the server using a HTTP GET request.</summary>
|
||||
/// <param name="url" type="String">A string containing the URL to which the request is sent.</param>
|
||||
/// <param name="data" type="String">A plain object or string that is sent to the server with the request.</param>
|
||||
/// <param name="data" type="">A plain object or string that is sent to the server with the request.</param>
|
||||
/// <param name="success(data, textStatus, jqXHR)" type="Function">A callback function that is executed if the request succeeds.</param>
|
||||
/// <param name="dataType" type="String">The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).</param>
|
||||
/// <returns type="jqXHR" />
|
||||
@@ -189,7 +196,7 @@
|
||||
/// <signature>
|
||||
/// <summary>Determine whether the argument is an array.</summary>
|
||||
/// <param name="obj" type="Object">Object to test whether or not it is an array.</param>
|
||||
/// <returns type="boolean" />
|
||||
/// <returns type="Boolean" />
|
||||
/// </signature>
|
||||
},
|
||||
'isEmptyObject': function() {
|
||||
@@ -203,7 +210,7 @@
|
||||
/// <signature>
|
||||
/// <summary>Determine if the argument passed is a Javascript function object.</summary>
|
||||
/// <param name="obj" type="PlainObject">Object to test whether or not it is a function.</param>
|
||||
/// <returns type="boolean" />
|
||||
/// <returns type="Boolean" />
|
||||
/// </signature>
|
||||
},
|
||||
'isNumeric': function() {
|
||||
@@ -224,7 +231,7 @@
|
||||
/// <signature>
|
||||
/// <summary>Determine whether the argument is a window.</summary>
|
||||
/// <param name="obj" type="PlainObject">Object to test whether or not it is a window.</param>
|
||||
/// <returns type="boolean" />
|
||||
/// <returns type="Boolean" />
|
||||
/// </signature>
|
||||
},
|
||||
'isXMLDoc': function() {
|
||||
@@ -250,7 +257,7 @@
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
/// <summary>Translate all items in an array or object to new array of items.</summary>
|
||||
/// <param name="arrayOrObject" type="Object">The Array or Object to translate.</param>
|
||||
/// <param name="arrayOrObject" type="">The Array or Object to translate.</param>
|
||||
/// <param name="callback( value, indexOrKey )" type="Function">The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object.</param>
|
||||
/// <returns type="Array" />
|
||||
/// </signature>
|
||||
@@ -280,12 +287,12 @@
|
||||
'param': function() {
|
||||
/// <signature>
|
||||
/// <summary>Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.</summary>
|
||||
/// <param name="obj" type="Object">An array or object to serialize.</param>
|
||||
/// <param name="obj" type="">An array or object to serialize.</param>
|
||||
/// <returns type="String" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
/// <summary>Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.</summary>
|
||||
/// <param name="obj" type="Object">An array or object to serialize.</param>
|
||||
/// <param name="obj" type="">An array or object to serialize.</param>
|
||||
/// <param name="traditional" type="Boolean">A Boolean indicating whether to perform a traditional "shallow" serialization.</param>
|
||||
/// <returns type="String" />
|
||||
/// </signature>
|
||||
@@ -294,7 +301,7 @@
|
||||
/// <signature>
|
||||
/// <summary>Parses a string into an array of DOM nodes.</summary>
|
||||
/// <param name="data" type="String">HTML string to be parsed</param>
|
||||
/// <param name="context" type="Element">DOM element to serve as the context in which the HTML fragment will be created</param>
|
||||
/// <param name="context" type="Element">Document element to serve as the context in which the HTML fragment will be created</param>
|
||||
/// <param name="keepScripts" type="Boolean">A Boolean indicating whether to include scripts passed in the HTML string</param>
|
||||
/// <returns type="Array" />
|
||||
/// </signature>
|
||||
@@ -317,8 +324,8 @@
|
||||
/// <signature>
|
||||
/// <summary>Load data from the server using a HTTP POST request.</summary>
|
||||
/// <param name="url" type="String">A string containing the URL to which the request is sent.</param>
|
||||
/// <param name="data" type="String">A plain object or string that is sent to the server with the request.</param>
|
||||
/// <param name="success(data, textStatus, jqXHR)" type="Function">A callback function that is executed if the request succeeds.</param>
|
||||
/// <param name="data" type="">A plain object or string that is sent to the server with the request.</param>
|
||||
/// <param name="success(data, textStatus, jqXHR)" type="Function">A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case.</param>
|
||||
/// <param name="dataType" type="String">The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).</param>
|
||||
/// <returns type="jqXHR" />
|
||||
/// </signature>
|
||||
@@ -420,7 +427,7 @@ intellisense.annotate(_object, {
|
||||
'add': function() {
|
||||
/// <signature>
|
||||
/// <summary>Add a callback or a collection of callbacks to a callback list.</summary>
|
||||
/// <param name="callbacks" type="Array">A function, or array of functions, that are to be added to the callback list.</param>
|
||||
/// <param name="callbacks" type="">A function, or array of functions, that are to be added to the callback list.</param>
|
||||
/// <returns type="Callbacks" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -473,7 +480,7 @@ intellisense.annotate(_object, {
|
||||
'remove': function() {
|
||||
/// <signature>
|
||||
/// <summary>Remove a callback or a collection of callbacks from a callback list.</summary>
|
||||
/// <param name="callbacks" type="Array">A function, or array of functions, that are to be removed from the callback list.</param>
|
||||
/// <param name="callbacks" type="">A function, or array of functions, that are to be removed from the callback list.</param>
|
||||
/// <returns type="Callbacks" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -552,7 +559,7 @@ intellisense.annotate(_object, {
|
||||
'progress': function() {
|
||||
/// <signature>
|
||||
/// <summary>Add handlers to be called when the Deferred object generates progress notifications.</summary>
|
||||
/// <param name="progressCallbacks" type="Function">A function, or array of functions, that is called when the Deferred generates progress notifications.</param>
|
||||
/// <param name="progressCallbacks" type="">A function, or array of functions, to be called when the Deferred generates progress notifications.</param>
|
||||
/// <returns type="Deferred" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -566,7 +573,7 @@ intellisense.annotate(_object, {
|
||||
'reject': function() {
|
||||
/// <signature>
|
||||
/// <summary>Reject a Deferred object and call any failCallbacks with the given args.</summary>
|
||||
/// <param name="args" type="Object">Optional arguments that are passed to the failCallbacks.</param>
|
||||
/// <param name="args" type="Anything">Optional arguments that are passed to the failCallbacks.</param>
|
||||
/// <returns type="Deferred" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -581,7 +588,7 @@ intellisense.annotate(_object, {
|
||||
'resolve': function() {
|
||||
/// <signature>
|
||||
/// <summary>Resolve a Deferred object and call any doneCallbacks with the given args.</summary>
|
||||
/// <param name="args" type="Object">Optional arguments that are passed to the doneCallbacks.</param>
|
||||
/// <param name="args" type="Anything">Optional arguments that are passed to the doneCallbacks.</param>
|
||||
/// <returns type="Deferred" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -715,7 +722,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
/// <summary>Add elements to the set of matched elements.</summary>
|
||||
/// <param name="html" type="String">An HTML fragment to add to the set of matched elements.</param>
|
||||
/// <param name="html" type="htmlString">An HTML fragment to add to the set of matched elements.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -752,8 +759,8 @@ intellisense.annotate(jQuery.fn, {
|
||||
'after': function() {
|
||||
/// <signature>
|
||||
/// <summary>Insert content, specified by the parameter, after each element in the set of matched elements.</summary>
|
||||
/// <param name="content" type="jQuery">HTML string, DOM element, or jQuery object to insert after each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="jQuery">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="">HTML string, DOM element, or jQuery object to insert after each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -833,8 +840,8 @@ intellisense.annotate(jQuery.fn, {
|
||||
'append': function() {
|
||||
/// <signature>
|
||||
/// <summary>Insert content, specified by the parameter, to the end of each element in the set of matched elements.</summary>
|
||||
/// <param name="content" type="jQuery">DOM element, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="jQuery">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="">DOM element, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -846,7 +853,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
'appendTo': function() {
|
||||
/// <signature>
|
||||
/// <summary>Insert every element in the set of matched elements to the end of the target.</summary>
|
||||
/// <param name="target" type="jQuery">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.</param>
|
||||
/// <param name="target" type="">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -854,7 +861,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// <signature>
|
||||
/// <summary>Set one or more attributes for the set of matched elements.</summary>
|
||||
/// <param name="attributeName" type="String">The name of the attribute to set.</param>
|
||||
/// <param name="value" type="Number">A value to set for the attribute.</param>
|
||||
/// <param name="value" type="">A value to set for the attribute.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -935,8 +942,8 @@ intellisense.annotate(jQuery.fn, {
|
||||
'before': function() {
|
||||
/// <signature>
|
||||
/// <summary>Insert content, specified by the parameter, before each element in the set of matched elements.</summary>
|
||||
/// <param name="content" type="jQuery">HTML string, DOM element, or jQuery object to insert before each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="jQuery">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="">HTML string, DOM element, or jQuery object to insert before each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -999,7 +1006,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// <summary>Selects all elements of type checkbox.</summary>
|
||||
},
|
||||
'checked': function() {
|
||||
/// <summary>Matches all elements that are checked.</summary>
|
||||
/// <summary>Matches all elements that are checked or selected.</summary>
|
||||
},
|
||||
'child': function() {
|
||||
/// <signature>
|
||||
@@ -1095,7 +1102,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// <signature>
|
||||
/// <summary>Set one or more CSS properties for the set of matched elements.</summary>
|
||||
/// <param name="propertyName" type="String">A CSS property name.</param>
|
||||
/// <param name="value" type="Number">A value to set for the property.</param>
|
||||
/// <param name="value" type="">A value to set for the property.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -1296,14 +1303,14 @@ intellisense.annotate(jQuery.fn, {
|
||||
'fadeTo': function() {
|
||||
/// <signature>
|
||||
/// <summary>Adjust the opacity of the matched elements.</summary>
|
||||
/// <param name="duration" type="Number">A string or number determining how long the animation will run.</param>
|
||||
/// <param name="duration" type="">A string or number determining how long the animation will run.</param>
|
||||
/// <param name="opacity" type="Number">A number between 0 and 1 denoting the target opacity.</param>
|
||||
/// <param name="complete" type="Function">A function to call once the animation is complete.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
/// <summary>Adjust the opacity of the matched elements.</summary>
|
||||
/// <param name="duration" type="Number">A string or number determining how long the animation will run.</param>
|
||||
/// <param name="duration" type="">A string or number determining how long the animation will run.</param>
|
||||
/// <param name="opacity" type="Number">A number between 0 and 1 denoting the target opacity.</param>
|
||||
/// <param name="easing" type="String">A string indicating which easing function to use for the transition.</param>
|
||||
/// <param name="complete" type="Function">A function to call once the animation is complete.</param>
|
||||
@@ -1423,9 +1430,9 @@ intellisense.annotate(jQuery.fn, {
|
||||
},
|
||||
'get': function() {
|
||||
/// <signature>
|
||||
/// <summary>Retrieve the DOM elements matched by the jQuery object.</summary>
|
||||
/// <summary>Retrieve one of the DOM elements matched by the jQuery object.</summary>
|
||||
/// <param name="index" type="Number">A zero-based integer indicating which element to retrieve.</param>
|
||||
/// <returns type="Element, Array" />
|
||||
/// <returns type="Element" />
|
||||
/// </signature>
|
||||
},
|
||||
'gt': function() {
|
||||
@@ -1433,6 +1440,10 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// <summary>Select all elements at an index greater than index within the matched set.</summary>
|
||||
/// <param name="index" type="Number">Zero-based index.</param>
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
/// <summary>Select all elements at an index greater than index within the matched set.</summary>
|
||||
/// <param name="-index" type="Number">Zero-based index, counting backwards from the last element.</param>
|
||||
/// </signature>
|
||||
},
|
||||
'has': function() {
|
||||
/// <signature>
|
||||
@@ -1459,7 +1470,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
'height': function() {
|
||||
/// <signature>
|
||||
/// <summary>Set the CSS height of every matched element.</summary>
|
||||
/// <param name="value" type="Number">An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).</param>
|
||||
/// <param name="value" type="">An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -1502,7 +1513,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
'html': function() {
|
||||
/// <signature>
|
||||
/// <summary>Set the HTML contents of each element in the set of matched elements.</summary>
|
||||
/// <param name="htmlString" type="String">A string of HTML to set as the content of each matched element.</param>
|
||||
/// <param name="htmlString" type="htmlString">A string of HTML to set as the content of each matched element.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -1528,7 +1539,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
/// <summary>Search for a given element from among the matched elements.</summary>
|
||||
/// <param name="element" type="jQuery">The DOM element or first element within the jQuery object to look for.</param>
|
||||
/// <param name="element" type="">The DOM element or first element within the jQuery object to look for.</param>
|
||||
/// <returns type="Number" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -1536,7 +1547,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// <signature>
|
||||
/// <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>
|
||||
/// <param name="selector" type="String">A string containing a selector expression</param>
|
||||
/// <param name="context" type="jQuery">A DOM Element, Document, or jQuery to use as context</param>
|
||||
/// <param name="context" type="">A DOM Element, Document, or jQuery to use as context</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -1562,11 +1573,11 @@ intellisense.annotate(jQuery.fn, {
|
||||
},
|
||||
'innerHeight': function() {
|
||||
/// <summary>Get the current computed height for the first element in the set of matched elements, including padding but not border.</summary>
|
||||
/// <returns type="Integer" />
|
||||
/// <returns type="Number" />
|
||||
},
|
||||
'innerWidth': function() {
|
||||
/// <summary>Get the current computed width for the first element in the set of matched elements, including padding but not border.</summary>
|
||||
/// <returns type="Integer" />
|
||||
/// <returns type="Number" />
|
||||
},
|
||||
'input': function() {
|
||||
/// <summary>Selects all input, textarea, select and button elements.</summary>
|
||||
@@ -1574,14 +1585,14 @@ intellisense.annotate(jQuery.fn, {
|
||||
'insertAfter': function() {
|
||||
/// <signature>
|
||||
/// <summary>Insert every element in the set of matched elements after the target.</summary>
|
||||
/// <param name="target" type="jQuery">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.</param>
|
||||
/// <param name="target" type="">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
},
|
||||
'insertBefore': function() {
|
||||
/// <signature>
|
||||
/// <summary>Insert every element in the set of matched elements before the target.</summary>
|
||||
/// <param name="target" type="jQuery">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.</param>
|
||||
/// <param name="target" type="">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -1707,6 +1718,10 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// <summary>Select all elements at an index less than index within the matched set.</summary>
|
||||
/// <param name="index" type="Number">Zero-based index.</param>
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
/// <summary>Select all elements at an index less than index within the matched set.</summary>
|
||||
/// <param name="-index" type="Number">Zero-based index, counting backwards from the last element.</param>
|
||||
/// </signature>
|
||||
},
|
||||
'map': function() {
|
||||
/// <signature>
|
||||
@@ -1987,14 +2002,14 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// <signature>
|
||||
/// <summary>Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without "px") representation of the value or null if called on an empty set of elements.</summary>
|
||||
/// <param name="includeMargin" type="Boolean">A Boolean indicating whether to include the element's margin in the calculation.</param>
|
||||
/// <returns type="Integer" />
|
||||
/// <returns type="Number" />
|
||||
/// </signature>
|
||||
},
|
||||
'outerWidth': function() {
|
||||
/// <signature>
|
||||
/// <summary>Get the current computed width for the first element in the set of matched elements, including padding and border.</summary>
|
||||
/// <param name="includeMargin" type="Boolean">A Boolean indicating whether to include the element's margin in the calculation.</param>
|
||||
/// <returns type="Integer" />
|
||||
/// <returns type="Number" />
|
||||
/// </signature>
|
||||
},
|
||||
'parent': function() {
|
||||
@@ -2035,8 +2050,8 @@ intellisense.annotate(jQuery.fn, {
|
||||
'prepend': function() {
|
||||
/// <signature>
|
||||
/// <summary>Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.</summary>
|
||||
/// <param name="content" type="jQuery">DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="jQuery">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="">DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.</param>
|
||||
/// <param name="content" type="">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -2048,7 +2063,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
'prependTo': function() {
|
||||
/// <signature>
|
||||
/// <summary>Insert every element in the set of matched elements to the beginning of the target.</summary>
|
||||
/// <param name="target" type="jQuery">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.</param>
|
||||
/// <param name="target" type="">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -2092,7 +2107,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// <signature>
|
||||
/// <summary>Set one or more properties for the set of matched elements.</summary>
|
||||
/// <param name="propertyName" type="String">The name of the property to set.</param>
|
||||
/// <param name="value" type="Boolean">A value to set for the property.</param>
|
||||
/// <param name="value" type="">A value to set for the property.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -2179,7 +2194,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
/// <summary>Remove a previously-stored piece of data.</summary>
|
||||
/// <param name="list" type="String">An array or space-separated string naming the pieces of data to delete.</param>
|
||||
/// <param name="list" type="">An array or space-separated string naming the pieces of data to delete.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -2193,14 +2208,14 @@ intellisense.annotate(jQuery.fn, {
|
||||
'replaceAll': function() {
|
||||
/// <signature>
|
||||
/// <summary>Replace each target element with the set of matched elements.</summary>
|
||||
/// <param name="target" type="String">A selector expression indicating which element(s) to replace.</param>
|
||||
/// <param name="target" type="">A selector string, jQuery object, or DOM element reference indicating which element(s) to replace.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
},
|
||||
'replaceWith': function() {
|
||||
/// <signature>
|
||||
/// <summary>Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.</summary>
|
||||
/// <param name="newContent" type="jQuery">The content to insert. May be an HTML string, DOM element, or jQuery object.</param>
|
||||
/// <param name="newContent" type="">The content to insert. May be an HTML string, DOM element, or jQuery object.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -2226,10 +2241,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// </signature>
|
||||
},
|
||||
'root': function() {
|
||||
/// <signature>
|
||||
/// <summary>Selects the element that is the root of the document.</summary>
|
||||
/// <param name="index" type="String">The index of each child to match, starting with 1, the string even or odd, or an equation ( eg. :nth-last-child(even), :nth-last-child(4n) )</param>
|
||||
/// </signature>
|
||||
/// <summary>Selects the element that is the root of the document.</summary>
|
||||
},
|
||||
'scroll': function() {
|
||||
/// <signature>
|
||||
@@ -2275,7 +2287,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// <summary>Selects all elements that are selected.</summary>
|
||||
},
|
||||
'selector': function() {
|
||||
/// <summary>A selector representing selector originally passed to jQuery().</summary>
|
||||
/// <summary>A selector representing selector passed to jQuery(), if any, when creating the original set.</summary>
|
||||
/// <returns type="String" />
|
||||
},
|
||||
'serialize': function() {
|
||||
@@ -2485,12 +2497,13 @@ intellisense.annotate(jQuery.fn, {
|
||||
/// <signature>
|
||||
/// <summary>Execute all handlers and behaviors attached to the matched elements for the given event type.</summary>
|
||||
/// <param name="eventType" type="String">A string containing a JavaScript event type, such as click or submit.</param>
|
||||
/// <param name="extraParameters" type="PlainObject">Additional parameters to pass along to the event handler.</param>
|
||||
/// <param name="extraParameters" type="">Additional parameters to pass along to the event handler.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
/// <summary>Execute all handlers and behaviors attached to the matched elements for the given event type.</summary>
|
||||
/// <param name="event" type="Event">A jQuery.Event object.</param>
|
||||
/// <param name="extraParameters" type="">Additional parameters to pass along to the event handler.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -2567,7 +2580,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
'val': function() {
|
||||
/// <signature>
|
||||
/// <summary>Set the value of each element in the set of matched elements.</summary>
|
||||
/// <param name="value" type="Array">A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked.</param>
|
||||
/// <param name="value" type="">A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -2582,7 +2595,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
'width': function() {
|
||||
/// <signature>
|
||||
/// <summary>Set the CSS width of each element in the set of matched elements.</summary>
|
||||
/// <param name="value" type="Number">An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).</param>
|
||||
/// <param name="value" type="">An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -2594,7 +2607,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
'wrap': function() {
|
||||
/// <signature>
|
||||
/// <summary>Wrap an HTML structure around each element in the set of matched elements.</summary>
|
||||
/// <param name="wrappingElement" type="jQuery">An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the matched elements.</param>
|
||||
/// <param name="wrappingElement" type="">A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
@@ -2606,7 +2619,7 @@ intellisense.annotate(jQuery.fn, {
|
||||
'wrapAll': function() {
|
||||
/// <signature>
|
||||
/// <summary>Wrap an HTML structure around all elements in the set of matched elements.</summary>
|
||||
/// <param name="wrappingElement" type="jQuery">An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the matched elements.</param>
|
||||
/// <param name="wrappingElement" type="">A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
},
|
||||
@@ -2629,7 +2642,7 @@ intellisense.annotate(window, {
|
||||
/// <signature>
|
||||
/// <summary>Accepts a string containing a CSS selector which is then used to match a set of elements.</summary>
|
||||
/// <param name="selector" type="String">A string containing a selector expression</param>
|
||||
/// <param name="context" type="jQuery">A DOM Element, Document, or jQuery to use as context</param>
|
||||
/// <param name="context" type="">A DOM Element, Document, or jQuery to use as context</param>
|
||||
/// <returns type="jQuery" />
|
||||
/// </signature>
|
||||
/// <signature>
|
||||
Vendored
+10220
File diff suppressed because it is too large
Load Diff
Vendored
+4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
+4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Generated
+1
-2
@@ -1,10 +1,9 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
<package id="elmah" version="1.2.2" targetFramework="net4" />
|
||||
<package id="elmah.corelibrary" version="1.2.2" targetFramework="net4" />
|
||||
<package id="FontAwesome" version="4.7.0" targetFramework="net462" />
|
||||
<package id="jQuery" version="1.9.1" targetFramework="net4" />
|
||||
<package id="jQuery" version="3.1.1" targetFramework="net462" />
|
||||
</packages>
|
||||
File diff suppressed because it is too large
Load Diff
-9597
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-117
@@ -1,117 +0,0 @@
|
||||
function Get-Checksum($file) {
|
||||
$cryptoProvider = New-Object "System.Security.Cryptography.MD5CryptoServiceProvider"
|
||||
|
||||
$fileInfo = Get-Item $file
|
||||
trap { ;
|
||||
continue } $stream = $fileInfo.OpenRead()
|
||||
if ($? -eq $false) {
|
||||
# Couldn't open file for reading
|
||||
return $null
|
||||
}
|
||||
|
||||
$bytes = $cryptoProvider.ComputeHash($stream)
|
||||
$checksum = ''
|
||||
foreach ($byte in $bytes) {
|
||||
$checksum += $byte.ToString('x2')
|
||||
}
|
||||
|
||||
$stream.Close() | Out-Null
|
||||
|
||||
return $checksum
|
||||
}
|
||||
|
||||
function AddOrUpdate-Reference($scriptsFolderProjectItem, $fileNamePattern, $newFileName) {
|
||||
try {
|
||||
$referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js")
|
||||
}
|
||||
catch {
|
||||
# _references.js file not found
|
||||
return
|
||||
}
|
||||
|
||||
if ($referencesFileProjectItem -eq $null) {
|
||||
# _references.js file not found
|
||||
return
|
||||
}
|
||||
|
||||
$referencesFilePath = $referencesFileProjectItem.FileNames(1)
|
||||
$referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js"
|
||||
|
||||
if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 0) {
|
||||
# File has no existing matching reference line
|
||||
# Add the full reference line to the beginning of the file
|
||||
"/// <reference path=""$newFileName"" />" | Add-Content $referencesTempFilePath -Encoding UTF8
|
||||
Get-Content $referencesFilePath | Add-Content $referencesTempFilePath
|
||||
}
|
||||
else {
|
||||
# Loop through file and replace old file name with new file name
|
||||
Get-Content $referencesFilePath | ForEach-Object { $_ -replace $fileNamePattern, $newFileName } > $referencesTempFilePath
|
||||
}
|
||||
|
||||
# Copy over the new _references.js file
|
||||
Copy-Item $referencesTempFilePath $referencesFilePath -Force
|
||||
Remove-Item $referencesTempFilePath -Force
|
||||
}
|
||||
|
||||
function Remove-Reference($scriptsFolderProjectItem, $fileNamePattern) {
|
||||
try {
|
||||
$referencesFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("_references.js")
|
||||
}
|
||||
catch {
|
||||
# _references.js file not found
|
||||
return
|
||||
}
|
||||
|
||||
if ($referencesFileProjectItem -eq $null) {
|
||||
return
|
||||
}
|
||||
|
||||
$referencesFilePath = $referencesFileProjectItem.FileNames(1)
|
||||
$referencesTempFilePath = Join-Path $env:TEMP "_references.tmp.js"
|
||||
|
||||
if ((Select-String $referencesFilePath -pattern $fileNamePattern).Length -eq 1) {
|
||||
# Delete the line referencing the file
|
||||
Get-Content $referencesFilePath | ForEach-Object { if (-not ($_ -match $fileNamePattern)) { $_ } } > $referencesTempFilePath
|
||||
|
||||
# Copy over the new _references.js file
|
||||
Copy-Item $referencesTempFilePath $referencesFilePath -Force
|
||||
Remove-Item $referencesTempFilePath -Force
|
||||
}
|
||||
}
|
||||
|
||||
function Delete-ProjectItem($item) {
|
||||
$itemDeleted = $false
|
||||
for ($1=1; $i -le 5; $i++) {
|
||||
try {
|
||||
$item.Delete()
|
||||
$itemDeleted = $true
|
||||
break
|
||||
}
|
||||
catch {
|
||||
# Try again in 200ms
|
||||
[System.Threading.Thread]::Sleep(200)
|
||||
}
|
||||
}
|
||||
if ($itemDeleted -eq $false) {
|
||||
throw "Unable to delete project item after five attempts."
|
||||
}
|
||||
}
|
||||
|
||||
# Extract the version number from the jquery file in the package's content\scripts folder
|
||||
$packageScriptsFolder = Join-Path $installPath Content\Scripts
|
||||
$jqueryFileName = Join-Path $packageScriptsFolder "jquery-*.js" | Get-ChildItem -Exclude "*.min.js","*-vsdoc.js" | Split-Path -Leaf
|
||||
$jqueryFileNameRegEx = "jquery-((?:\d+\.)?(?:\d+\.)?(?:\d+\.)?(?:\d+)).js"
|
||||
$jqueryFileName -match $jqueryFileNameRegEx
|
||||
$ver = $matches[1]
|
||||
|
||||
$intelliSenseFileName = "jquery-$ver.intellisense.js"
|
||||
|
||||
# Get the project item for the scripts folder
|
||||
try {
|
||||
$scriptsFolderProjectItem = $project.ProjectItems.Item("Scripts")
|
||||
$projectScriptsFolderPath = $scriptsFolderProjectItem.FileNames(1)
|
||||
}
|
||||
catch {
|
||||
# No Scripts folder
|
||||
Write-Host "No scripts folder found"
|
||||
}
|
||||
-41
@@ -1,41 +0,0 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
. (Join-Path $toolsPath common.ps1)
|
||||
|
||||
# VS 11 and above supports the new intellisense JS files
|
||||
$vsVersion = [System.Version]::Parse($dte.Version)
|
||||
$supportsJsIntelliSenseFile = $vsVersion.Major -ge 11
|
||||
|
||||
if (-not $supportsJsIntelliSenseFile) {
|
||||
$displayVersion = $vsVersion.Major
|
||||
Write-Host "IntelliSense JS files are not supported by your version of Visual Studio: $displayVersion"
|
||||
exit
|
||||
}
|
||||
|
||||
if ($scriptsFolderProjectItem -eq $null) {
|
||||
# No Scripts folder
|
||||
Write-Host "No Scripts folder found"
|
||||
exit
|
||||
}
|
||||
|
||||
# Delete the vsdoc file from the project
|
||||
try {
|
||||
$vsDocProjectItem = $scriptsFolderProjectItem.ProjectItems.Item("jquery-$ver-vsdoc.js")
|
||||
Delete-ProjectItem $vsDocProjectItem
|
||||
}
|
||||
catch {
|
||||
Write-Host "Error deleting vsdoc file: " + $_.Exception -ForegroundColor Red
|
||||
exit
|
||||
}
|
||||
|
||||
# Copy the intellisense file to the project from the tools folder
|
||||
$intelliSenseFileSourcePath = Join-Path $toolsPath $intelliSenseFileName
|
||||
try {
|
||||
$scriptsFolderProjectItem.ProjectItems.AddFromFileCopy($intelliSenseFileSourcePath)
|
||||
}
|
||||
catch {
|
||||
# This will throw if the file already exists, so we need to catch here
|
||||
}
|
||||
|
||||
# Update the _references.js file
|
||||
AddOrUpdate-Reference $scriptsFolderProjectItem $jqueryFileNameRegEx $jqueryFileName
|
||||
File diff suppressed because it is too large
Load Diff
-41
@@ -1,41 +0,0 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
. (Join-Path $toolsPath common.ps1)
|
||||
|
||||
# Determine the file paths
|
||||
$projectIntelliSenseFilePath = Join-Path $projectScriptsFolderPath $intelliSenseFileName
|
||||
$origIntelliSenseFilePath = Join-Path $toolsPath $intelliSenseFileName
|
||||
|
||||
if (Test-Path $projectIntelliSenseFilePath) {
|
||||
if ((Get-Checksum $projectIntelliSenseFilePath) -eq (Get-Checksum $origIntelliSenseFilePath)) {
|
||||
# The intellisense file in the project matches the file in the tools folder, delete it
|
||||
|
||||
if ($scriptsFolderProjectItem -eq $null) {
|
||||
# No Scripts folder
|
||||
exit
|
||||
}
|
||||
|
||||
try {
|
||||
# Get the project item for the intellisense file
|
||||
$intelliSenseFileProjectItem = $scriptsFolderProjectItem.ProjectItems.Item($intelliSenseFileName)
|
||||
}
|
||||
catch {
|
||||
# The item wasn't found
|
||||
exit
|
||||
}
|
||||
|
||||
# Delete the project item
|
||||
Delete-ProjectItem $intelliSenseFileProjectItem
|
||||
}
|
||||
else {
|
||||
$projectScriptsFolderLeaf = Split-Path $projectScriptsFolderPath -Leaf
|
||||
Write-Host "Skipping '$projectScriptsFolderLeaf\$intelliSenseFileName' because it was modified." -ForegroundColor Magenta
|
||||
}
|
||||
}
|
||||
else {
|
||||
# The intellisense file was not found in project
|
||||
Write-Host "The intellisense file was not found in project at path $projectIntelliSenseFilePath"
|
||||
}
|
||||
|
||||
# Update the _references.js file
|
||||
Remove-Reference $scriptsFolderProjectItem $jqueryFileNameRegEx
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user