Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code cleanup #49

Merged
merged 4 commits into from
Dec 24, 2013
Merged

Code cleanup #49

merged 4 commits into from
Dec 24, 2013

Conversation

benjojo
Copy link
Contributor

@benjojo benjojo commented Dec 24, 2013

This is a major source update Pinging @loadfive @gprasant for feedback.

While working on knwl.js I noticed a great deal of the tabbing was all over the place. I have gone though and enforced everything is 4 spaces for a tab. This means alot of the code is now much more readable on how "deep" you are.

I also replaced all uses of alert with console.error so that if/when we move to a node module or so
mething that could be compatible with node. It will be a lot smoother.

I also made sure that all the multidimensional array's are spaced out more, making appending to them a great deal more easy.

rksupft

Overall I think this will greatly improve the code readability of the whole project!

Have a great xmas 🎄

as a major side note, it is worth merging this one last before anyone else's PR's to avoid death by merge conflicts

@gprasant
Copy link
Contributor

err,, isnt the decision usually 2 spaces for a tab ?

Merry 🎄

@benjojo
Copy link
Contributor Author

benjojo commented Dec 24, 2013

Well, I noticed that 4 was sort of the going thing, I can easily change it to 2

@benjojo
Copy link
Contributor Author

benjojo commented Dec 24, 2013

So with 2 spaces
gtkam43

and with 4:
gbce4ob

@benhmoore
Copy link
Owner

Looks great!

benhmoore pushed a commit that referenced this pull request Dec 24, 2013
@benhmoore benhmoore merged commit edeacdd into benhmoore:master Dec 24, 2013
@gprasant
Copy link
Contributor

Looks good. I just changed my editor to use four spaces for tabs for this
project .

--gp

On Tue, Dec 24, 2013 at 9:24 PM, LoadFive notifications@github.com wrote:

Merged #49 #49.


Reply to this email directly or view it on GitHubhttps://github.com//pull/49
.

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

Successfully merging this pull request may close these issues.

None yet

3 participants