Skip to content

Commit 61e4d98

Browse files
authored
Merge pull request #7 from MailOnline/chore/os
Chore/os
2 parents fd77e5d + 9c13733 commit 61e4d98

37 files changed

+247
-65
lines changed

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <https://unlicense.org>

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# libreact
22

3+
[![][npm-badge]][npm-url] [![][travis-badge]][travis-url]
4+
35
React standard library, must-have toolbox for any React project.
46

5-
- Collection of React sensors, FaCCs, HOCs, context, lazy loading, and [other goodies](#contents).
7+
- Collection of React sensors, FaCCs, HOCs, context providers, dummies, and [other goodies](#contents).
68
- Isomorphic - all components work in browser and Node.js (and some in `react-native`).
79
- [See demos and docs](https://mailonline.github.io/libreact/).
810

@@ -69,3 +71,14 @@ const MyComponent = mock();
6971
- [`<CssResetYahoo>`](./docs/reset/CssResetYahoo.md)
7072
- Other
7173
- [`<Resolve>`](./docs/Resolve.md)
74+
75+
76+
## License
77+
78+
[Unlicense](./LICENSE) - public domain.
79+
80+
81+
[npm-url]: https://www.npmjs.com/package/libreact
82+
[npm-badge]: https://img.shields.io/npm/v/libreact.svg
83+
[travis-url]: https://travis-ci.org/MailOnline/libreact
84+
[travis-badge]: https://travis-ci.org/MailOnline/libreact.svg?branch=master

docs/BatterySensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ None.
99
# Example
1010

1111
```jsx
12-
import {BatterySensor} from 'mol-fe-react/lib/BatterySensor';
12+
import {BatterySensor} from 'libreact/lib/BatterySensor';
1313

1414
<BatterySensor>{(battery) =>
1515
JSON.stringify(battery, null, 4)

docs/LightSensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ to privide lightning data.
66
## Usage
77

88
```jsx
9-
import {LightSensor} from 'mol-fe-react/lib/LightSensor';
9+
import {LightSensor} from 'libreact/lib/LightSensor';
1010

1111
<LightSensor>{(light) =>
1212
JSON.stringify(light, null, 4)

docs/LocalStorage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Uses [`Window.localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Wi
55
## Usage
66

77
```jsx
8-
import {LocalStorage} from 'mol-fe-react/lib/LocalStorage';
8+
import {LocalStorage} from 'libreact/lib/LocalStorage';
99

1010
<LocalStorage name='foo' data='bar' />
1111
<LocalStorage name='foo2' data='baz' persist />

docs/MediaDeviceSensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ user's connected media devices.
66
## Usage
77

88
```jsx
9-
import {MediaDevicesSensor} from 'mol-fe-react/lib/MediaDevicesSensor';
9+
import {MediaDevicesSensor} from 'libreact/lib/MediaDevicesSensor';
1010

1111
<MediaDevicesSensor>{(state) =>
1212
JSON.stringify(state, null, 4)

docs/MediaSensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FaCC that re-renders on [media query](https://developer.mozilla.org/en-US/docs/W
55
## Example
66

77
```jsx
8-
import {MediaSensor} from 'mol-fe-react/lib/MediaSensor';
8+
import {MediaSensor} from 'libreact/lib/MediaSensor';
99

1010
<MediaSensor query='(min-width: 480px)'>{(matches) =>
1111
`WIDTH IS GREATED THAN 480PX: ${matches}`

docs/NetworkSensor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ None.
2626
### Example
2727

2828
```jsx
29-
import {NetworkSensor} from 'mol-fe-react/lib/NetworkSensor';
29+
import {NetworkSensor} from 'libreact/lib/NetworkSensor';
3030

3131
<NetworkSensor>{(state) =>
3232
JSON.strinfigy(state, null 4)
@@ -59,7 +59,7 @@ HOC that merges `<NetworkSensor>` state into props of the enhanced component.
5959
### Example
6060

6161
```jsx
62-
import {withNetwork} from 'mol-fe-react/lib/NetworkSensro';
62+
import {withNetwork} from 'libreact/lib/NetworkSensro';
6363

6464
const NetworkStatusFormatter = (props) =>
6565
<pre style={{fontFamily: 'monospace'}}>

docs/Resolve.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FaCC that resolves a promise.
55
## Usage
66

77
```jsx
8-
import {Resolve} from 'mol-fe-react/lib/Resolve';
8+
import {Resolve} from 'libreact/lib/Resolve';
99

1010
<Resolve promise={promise}>{({pending, value, error}) =>
1111
pending ? null : JSON.stringify(value)

docs/ScrollSensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ FaCC that re-renders on when scroll position in a DOM element changes.
99
## Example
1010

1111
```jsx
12-
import {ScrollSensor} from 'mol-fe-react/lib/ScrollSensor';
12+
import {ScrollSensor} from 'libreact/lib/ScrollSensor';
1313

1414
<ScrollSensor el={element}>{({x, y}) =>
1515
`x: ${x}, y: ${y}`

0 commit comments

Comments
 (0)