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

Change setPage* to lookupAndSetPage #467

Merged
merged 1 commit into from Apr 25, 2014
Merged

Change setPage* to lookupAndSetPage #467

merged 1 commit into from Apr 25, 2014

Conversation

philschatz
Copy link
Member

Looks like it's refactoring itself back to setPage(string/number)

@philschatz philschatz changed the title WIP: change setPage* to lookupAndSetPage Change setPage* to lookupAndSetPage Apr 21, 2014
else
throw new Error('BUG: Invalid arg')

lookupAndSetPage: (numOrString) ->
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to make it explicit in the name that this is doing a type check, or should it just be setPage?

dak added a commit that referenced this pull request Apr 25, 2014
Change setPage* to lookupAndSetPage
@dak dak merged commit fc81e98 into editing Apr 25, 2014
@dak dak deleted the lookup-and-set-page branch April 25, 2014 13:56
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

2 participants