Skip to content

Commit

Permalink
jQuery accepts any object for ajax options context property (via @elk…
Browse files Browse the repository at this point in the history
…danger)
  • Loading branch information
nikhilk committed Nov 4, 2012
1 parent 44f1830 commit 7590af3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Libraries/jQuery/jQuery.Core/jQueryAjaxOptions.cs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ public string ContentType {
} }


/// <summary> /// <summary>
/// Gets or sets the element that will be the context for the request. /// Gets or sets the object that will be the context for the request.
/// </summary> /// </summary>
[IntrinsicProperty] [IntrinsicProperty]
public Element Context { public object Context {
get { get {
return null; return null;
} }
Expand Down
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@


namespace jQueryApi.Validation { namespace jQueryApi.Validation {


public delegate bool jQueryValidationMethod(string value, Element element, object[] parameters); public delegate bool jQueryValidationMethod(string value, Element element, object[] parameters);
} }

0 comments on commit 7590af3

Please sign in to comment.