Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit b40a8a1

Browse files
authored
Merge pull request #33 from benox3/v0.0.14
Release v0.0.14
2 parents 01232e8 + ce44257 commit b40a8a1

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ npm install react-pic --save
2323
<script src='https://unpkg.com/react-pic@latest/dist/umd/react-pic.min.js'></script>
2424
```
2525

26+
## Demo:
27+
![demo-image](https://thumbs.gfycat.com/MajesticFinishedAlpinegoat-size_restricted.gif)
28+
2629
## Usage
2730
```javascript
2831
import React, { Component } from 'react';

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import Pic from './common/Pic';
22

3-
export default Pic;
3+
module.exports = Pic;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-pic",
3-
"version": "0.0.13",
3+
"version": "0.0.14",
44
"description": "React component for progressive and responsive image loading.",
55
"author": "Ben Budnevich",
66
"main": "dist/commonjs/react-pic.js",

webpack.config.umd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const config = {
3030
commonjs: 'react'
3131
},
3232
'react-addons-shallow-compare': {
33-
root: 'React.addons.shallowCompare',
33+
root: ['React', 'addons', 'shallowCompare'],
3434
amd: 'react-addons-shallow-compare',
3535
commonjs2: 'react-addons-shallow-compare',
3636
commonjs: 'react-addons-shallow-compare'

0 commit comments

Comments
 (0)