-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Issue by rwaldron
Thursday Jun 21, 2012 at 20:47 GMT
Originally opened as adobe/brackets#1100
Brackets source code should consistently use double quotes for JS string literals and HTML attribute values. With one exception: if the code is inside a string literal (which already uses double quotes), use single quotes instead to avoid escaping.
The current codebase mostly follows these styles, but it's inconsistent in a few places.
Examples:
// JavaScript
var foo = "some text";
var htmlCode = "<div id='some-id' class='some-class'></div>";
<!-- HTML -->
<div id="some-id" class="some-class"></div>
original description:
I'm not advocating for either, but perhaps a definitive decision to use either single or double throughout the entire code base would be beneficial for maintainability.
Metadata
Metadata
Assignees
Labels
No labels