Skip to content

Commit

Permalink
wrong package name
Browse files Browse the repository at this point in the history
  • Loading branch information
aa-ree committed Oct 5, 2016
1 parent 55ccff0 commit 2d19a0a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
# **`<self-clip>`** element
### A icon customzation allows you to play with.

I was watching web component recently, learning about `<template>`, shadow DOM, Custom Elements, HTML imports. I decided create a web component, it is using polyfill `webcomponent.js` now.
I was watching web component recently, learning about `<template>`, shadow DOM, Custom Elements, HTML imports. I decided create a web component, it is using polyfill `webcomponents.js` now.
So, `<self-clip>` able to use wherever you want.

## Usage

To use it, you simply need `npm install webcomponent.js` and `npm install selfclip`.
To use it, you simply need
```
npm install webcomponents.js
```
and
```
npm install selfclip
```
### 1. Import to your html:
```html
<link rel="import" href="selfclip/self-clip.html">
<script src="node_modules/webcomponents.js/webcomponents.js"></script>
<link rel="import" href="node_modules/selfclip/self-clip.html">
```

### 2. Use self-clip wherever you want:
Expand Down
2 changes: 1 addition & 1 deletion selfclip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "selfclip",
"version": "1.0.0",
"version": "1.0.1",
"description": "Quick customized icon",
"main": "self-clip.html",
"scripts": {
Expand Down

0 comments on commit 2d19a0a

Please sign in to comment.