Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Linted Javascript #142

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

codethejason
Copy link

Linted the application javascript files using Adobe Bracket's built in JSLint.

-Indentations and other formatting
-Added 'use strict'
-similar var declarations on same indentation level are grouped together

@smcgregor
Copy link
Member

Thanks for the pull! Can you list the types of lint changes you made? It will help speed up the review process.

  • Adding "use strict"
  • Whitespace
  • ?

changed 4 space indents to 2 space indents
@codethejason
Copy link
Author

Added the changes to the description.

@smcgregor
Copy link
Member

Noting: Separately @codethejason told me he used http://jsbeautifier.org/ and https://github.com/beautify-web/js-beautify for this.

@@ -25,4 +27,4 @@ var createSeamlessMenuItem = function (itemCaption, appName) {
};

createSeamlessMenuItem('New Message', 'Message');
createSeamlessMenuItem('New PlainPost', 'PlainPost');
createSeamlessMenuItem('New PlainPost', 'PlainPost');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: you removed the newline character from the file

@smcgregor
Copy link
Member

I reviewed half the changes, but since I am asking you to not remove the end of file line breaks, I am going to stop reviewing until it is likely the last time I look it over. I have to check every change you introduce at the time I merge it -- and you have many changes here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants