Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Not only is the library now completely object-oriented, but I've also added JSCS and updated JSHint so that the library now has a consistent code style.
This can be changed later if needed, but the code style I chose to use is the jQuery Style Guide. I chose it because we were already following most of it's guidelines. I did; however, have to make a couple necessary changes to this style.
maximumLineLength
to be 175 characters. I did this because we have several if statements that exceed this limit. Some of our functions also have several parameters which makes the function declaration rather long. In the jQuery Style Guide a line can only be 100 characters and setting this to 175 gets around that limit with our long lines.validateLineBreaks
to allow forCRLF
. This is due to the way Git handles line breaks.Special Thanks Goes Out To: