Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
bradmartin committed Jul 17, 2019
1 parent 5da84bc commit 4976405
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
19 changes: 1 addition & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ NativeScript plugin to use Pull to Refresh on any view.

## Installation

`tns plugin add nativescript-pulltorefresh`
`tns plugin add @nstudio/nativescript-pulltorefresh`

#### [Android - _SwipeRefreshLayout_](http://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.html)

Expand Down Expand Up @@ -160,23 +160,6 @@ If you are using webpack with **uglify** for Android, you must add
[TNS_SwipeRefreshListener](./src/pulltorefresh.android.ts#L73) to the mangle exception
list.

#### webpack.config.js

```JS
if (uglify) {
config.plugins.push(new webpack.LoaderOptionsPlugin({ minimize: true }));

// Work around an Android issue by setting compress = false
const compress = platform !== "android";
config.plugins.push(new UglifyJsPlugin({
uglifyOptions: {
mangle: { reserved: [ ...nsWebpack.uglifyMangleExcludes, "TNS_SwipeRefreshListener" ] },
compress,
}
}));
}
```

## Properties

- **refresh : function** _required_
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nstudio/nativescript-pulltorefresh",
"version": "0.1.0",
"version": "1.0.1",
"description": "A NativeScript plugin to provide the Pull to Refresh control on any view.",
"main": "pulltorefresh",
"typings": "index.d.ts",
Expand Down

0 comments on commit 4976405

Please sign in to comment.