Skip to content

Commit

Permalink
More boolean attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeche committed May 2, 2016
1 parent 4b02f62 commit 96996d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/assets/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ define(function(require, exports, module) {
'form enabled, HTML tags can be outputted as <code>&lt;div contenteditable&gt;</code> ' +
'instead of <code>&lt;div contenteditable="contenteditable"&gt;</code>');

prefs.define('profile.booleanAttributes', '^contenteditable|seamless$',
prefs.define('profile.booleanAttributes', '^contenteditable|seamless|async|autofocus|autoplay|checked|controls|defer|disabled|formnovalidate|hidden|ismap|loop|multiple|muted|novalidate|readonly|required|reversed|selected|typemustmatch$',
'A regular expression for attributes that should be boolean by default.' +
'If attribute name matches this expression, you don’t have to write dot ' +
'after attribute name in Emmet abbreviation to mark it as boolean.');
Expand Down Expand Up @@ -270,4 +270,4 @@ define(function(require, exports, module) {
*/
stringCase: stringCase
};
});
});

0 comments on commit 96996d4

Please sign in to comment.