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

Glossary #53

Merged
merged 22 commits into from
Mar 9, 2015
Merged

Glossary #53

merged 22 commits into from
Mar 9, 2015

Conversation

noahmanger
Copy link
Contributor

This is the start of the glossary. It works well enough to start testing it with people, but still lacks many important definitions and not many terms have actually been marked up as necessary.

My sense is that creating the definitions and applying them throughout will be more of an ongoing content task.

@theresaanna definitely welcoming js best practice input on this. I tried to follow the conventions we've been using, but it wouldn't surprise me if I missed something.

indexToLowercase = function(arrayOfObjects, index){
var key,
newKey,
object = _.indexBy(arrayOfObjects, index),
Copy link
Contributor

Choose a reason for hiding this comment

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

I would just say we should rename things like object and newObject since they don't describe the values within. Maye terms and lowercaseTerms respectively?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So I had that, then I made it generic thinking that this function might be useful in other circumstances. But otherwise, yeah, I agree.

Copy link
Contributor

Choose a reason for hiding this comment

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

I can see that. My suggestion would be that we should make it describe its current use and refactor if/when we use it elsewhere.

@theresaanna
Copy link
Contributor

@noahmanger I'm stepping away from the computer. I know its easiest if this is merged before you do the homepage, so you're good to merge whenever. I didn't want to go ahead and do it in case you wanted to change those var names.

noahmanger pushed a commit that referenced this pull request Mar 9, 2015
@noahmanger noahmanger merged commit 734ffd1 into master Mar 9, 2015
@noahmanger noahmanger deleted the glossary branch March 9, 2015 22:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants