Commit fa804cb1 authored by Boris Kocherov's avatar Boris Kocherov

jslint fix

parent 463bbc9b
......@@ -1373,7 +1373,7 @@
if (input.hasAttribute('data-origin-value')) {
json_dict[input.name] = JSON.parse(input.getAttribute('data-origin-value'));
} else {
if (input.required || input.value !== "") {
if (input.required || input.value !== "") {
var type = input.getAttribute('data-json-type');
if (input.tagName === "SELECT" && input.value) {
// selection used for enums
......@@ -1458,7 +1458,7 @@
.push(function () {
return g.element.setAttribute('data-json-property-name', new_name);
})
.push(undefined, function (error) {
.push(undefined, function () {
// XXX notify user
event.srcElement.value = name;
event.srcElement.focus();
......@@ -1579,7 +1579,7 @@
.declareAcquiredMethod("notifyInvalid", "notifyInvalid")
.declareAcquiredMethod("checkValidity", "checkValidity")
.allowPublicAcquisition("notifyValid", function (arr, sub_scope) {
.allowPublicAcquisition("notifyValid", function () {
return true;
})
.allowPublicAcquisition("notifyChange", function (arr, sub_scope) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment