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

Frequently used #55

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Frequently used #55

wants to merge 5 commits into from

Conversation

r0stig
Copy link
Contributor

@r0stig r0stig commented Feb 13, 2017

Add frequently used functionality, requested in #6.
Note this pull request is dependent on #54

@tommoor
Copy link
Owner

tommoor commented Feb 14, 2017

Thanks for your work here, I'll take a pass at properly reviewing this within the next few days.

package.json Outdated
@@ -42,6 +42,7 @@
"devDependencies": {
"babel-cli": "^6.7.5",
"babel-eslint": "^7.1.1",
"babel-plugin-transform-object-rest-spread": "6.22.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

This devDependency shouldn't be needed - the object-rest-spread transform is included in the stage 3 preset, which is a transitive dependency of the stage 0 preset already in place. Does the build complete without this new dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I get this error without the dependency:

Error: Cannot find module 'babel-plugin-transform-object-rest-spread' (While processing preset: "[path...]/emojione-picker/node_modules/babel-preset-stage-0/lib/index.js")

Am I doing something else wrong?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure - I don't see that error locally with node 7.5.0 and npm 4.2.0. Maybe try wiping out node_modules and reinstalling? If that doesn't work please post your node/npm versions.

@ahutchings
Copy link
Contributor

You can Increase the number of emoji that are rendered in each row to 9 in createRowsSelector to match the added category in the header.

@ahutchings
Copy link
Contributor

Now that #54 is merged in, could you update this branch from master? I'm hitting that error when running the preview.

@r0stig
Copy link
Contributor Author

r0stig commented Feb 20, 2017

Fixed things @ahutchings mentioned in the thread (removed dependency, merged from master, render one more emoji in each row).

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

3 participants