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

Replace npmcdn.com with unpkg.com #12

Merged
merged 1 commit into from
Sep 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ Examples of `emoji` object:
}
```

You can use [npmcdn](https://npmcdn.com/[email protected]/sheets/) with the sheets included in this repo:<br>
https://npmcdn.com/[email protected]/sheets/sheet_apple_64.png<br>
https://npmcdn.com/[email protected]/sheets/sheet_emojione_64.png
You can use [unpkg](https://unpkg.com/[email protected]/sheets/) with the sheets included in this repo:<br>
https://unpkg.com/[email protected]/sheets/sheet_apple_64.png<br>
https://unpkg.com/[email protected]/sheets/sheet_emojione_64.png

### Emoji
```jsx
Expand Down
4 changes: 2 additions & 2 deletions example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Example extends React.Component {
onClick={() => this.setState({ set: set })}
{...props}>
<Emoji
sheetURL={`https://npmcdn.com/[email protected]/sheets/sheet_${set}_32.png`}
sheetURL={`https://unpkg.com/[email protected]/sheets/sheet_${set}_32.png`}
size={24}
emoji='grinning'
/>
Expand Down Expand Up @@ -86,7 +86,7 @@ class Example extends React.Component {
emojiSize={this.state.emojiSize}
perLine={this.state.perLine}
skin={this.state.skin}
sheetURL={`https://npmcdn.com/[email protected]/sheets/sheet_${this.state.set}_64.png`}
sheetURL={`https://unpkg.com/[email protected]/sheets/sheet_${this.state.set}_64.png`}
onClick={(emoji) => console.log(emoji)}
/>
}
Expand Down