Skip to content

Commit

Permalink
fix test linting from #3350
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Feb 17, 2016
1 parent 49d04b0 commit 37f7157
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions test/unit/bind-elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -616,16 +616,16 @@
value: function() {
return function(message) {
return 'translated: ' + message;
}
};
}
},
}
},

_computeTranslateFn: function(translator) {
return function(message) {
return translator(message);
}
},
};
}

});
})();
Expand All @@ -649,16 +649,16 @@
computed: '_computeTranslateFn(translator)'
},
translator: {
type: Function,
},
type: Function
}
},

_computeTranslateFn: function(translator) {
return function(message) {
return translator(message);
}
},
};
}

});
</script>
</dom-module>
</dom-module>
12 changes: 6 additions & 6 deletions test/unit/bind.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
'binding-with-dash': 'yes'
};
assert.equal(el.$.boundWithDash.textContent, 'yes');
})
});

});

Expand Down Expand Up @@ -312,7 +312,7 @@

el.translator = function(message) {
return 'changed: ' + message;
}
};

assert.equal(el.$.check.textContent, 'changed: Hello World.');
});
Expand All @@ -335,17 +335,17 @@
is: 'x-observer-with-dynamic-function',
properties: {
translate: {
type: Function,
type: Function
},
message: {
type: String,
value: 'Hello'
},
}
},

observers: ['translate(message)'],
observers: ['translate(message)']

})
});

el = document.createElement('x-observer-with-dynamic-function');
document.body.appendChild(el);
Expand Down

0 comments on commit 37f7157

Please sign in to comment.