Skip to content

Commit 144a899

Browse files
author
Adrian Vasiliu
committed
register.js error message: fix attribute name (require=>requires)
1 parent 4b0dd0c commit 144a899

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

register.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ define([
5050
*/
5151
function createElement(tag) {
5252
if (/-/.test(tag) && !(tag in registry)) {
53-
// Try to help people that have templates with custom elements but they forgot to do require="..."
53+
// Try to help people that have templates with custom elements but they forgot to do requires="..."
5454
console.warn("register.createElement(): undefined tag '" + tag +
55-
"', did you forget require='...' in your template?");
55+
"', did you forget requires='...' in your template?");
5656
}
5757

5858
var base = registry[tag] ? registry[tag].extends : null;

0 commit comments

Comments
 (0)