Skip to content

Commit 7ebb8db

Browse files
Add license file
1 parent 377ffe8 commit 7ebb8db

7 files changed

+657
-813
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,4 @@
5050
*.sln text=auto eol=crlf
5151

5252
*.sh eol=lf
53+
package-lock.json binary

dist/jquery.validate.unobtrusive.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Unobtrusive validation support library for jQuery and jQuery Validate
2-
// Copyright (C) Microsoft Corporation. All rights reserved.
2+
// Copyright (c) .NET Foundation. All rights reserved.
3+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
34
// @version v3.2.10
45

56
/*jslint white: true, browser: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: false */
@@ -117,7 +118,7 @@
117118
.removeClass("field-validation-error")
118119
.removeData("unobtrusiveContainer")
119120
.find(">*") // If we were using valmsg-replace, get the underlying error
120-
.removeData("unobtrusiveContainer");
121+
.removeData("unobtrusiveContainer");
121122
}
122123

123124
function validationInfo(form) {
@@ -233,10 +234,10 @@
233234
// element with data-val=true
234235
var $selector = $(selector),
235236
$forms = $selector.parents()
236-
.addBack()
237-
.filter("form")
238-
.add($selector.find("form"))
239-
.has("[data-val=true]");
237+
.addBack()
238+
.filter("form")
239+
.add($selector.find("form"))
240+
.has("[data-val=true]");
240241

241242
$selector.find("[data-val=true]").each(function () {
242243
$jQval.unobtrusive.parseElement(this, true);
@@ -428,4 +429,4 @@
428429
});
429430

430431
return $jQval.unobtrusive;
431-
}));
432+
}));

dist/jquery.validate.unobtrusive.min.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)