Skip to content
Permalink
Browse files

Added CDN

  • Loading branch information...
marcomontalbano committed Dec 6, 2017
1 parent c48cc28 commit 423e6b1b48bce0d55f42ae68b1ac0bf996f67439
Showing with 25 additions and 14 deletions.
  1. +25 −14 README.md
@@ -17,20 +17,6 @@ See it in action with [CodePen].
Install
-------

### Bower

You can install jCreate using [Bower]:

```sh
bower install --save jquery-jcreate
```

And now you can include it in you project with a `<script>` tag.

```html
<script type="text/javascript" src="jquery.jcreate.min.js"></script>
```

### Yarn and npm

[![NPM](https://nodei.co/npm/jquery-jcreate.png)](https://nodei.co/npm/jquery-jcreate/)
@@ -67,6 +53,30 @@ define(["jquery", "jquery-jcreate"], function( $ ) {
});
```

### Bower

You can install jCreate using [Bower]:

```sh
bower install --save jquery-jcreate
```

And now you can include it in you project with a `<script>` tag.

```html
<script type="text/javascript" src="jquery.jcreate.min.js"></script>
```

### `<script>` tag using CDNs

[jsDelivr] is a global CDN delivery for JavaScript libraries.

To include the latest releases and all upcoming features and patches, use this:

```html
<script src="https://cdn.jsdelivr.net/npm/jquery-jcreate@1/dist/jquery.jcreate.min.js"></script>
```

How to use
----------

@@ -226,6 +236,7 @@ bower install


[Bower]: <http://bower.io/>
[jsDelivr]: <https://www.jsdelivr.com/about>
[jQuery Event Delegation]: <http://api.jquery.com/on/#direct-and-delegated-events>
[node.js]: <https://nodejs.org/>
[CodePen]: <https://codepen.io/collection/AQGNYy/>

0 comments on commit 423e6b1

Please sign in to comment.
You can’t perform that action at this time.