Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove componentjs mentions, update Readme format #1082

Merged
merged 1 commit into from Oct 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ node:
$ npm install superagent
```

component:

```
$ component install visionmedia/superagent
```

Works with [browserify](https://github.com/substack/node-browserify) and should work with [webpack](https://github.com/visionmedia/superagent/wiki/SuperAgent-for-Webpack)

```js
Expand Down Expand Up @@ -54,12 +48,12 @@ var request = require('superagent');
var prefix = require('superagent-prefix')('/static');

request
.get('/some-url')
.use(prefix) // Prefixes *only* this request
.use(nocache) // Prevents caching of *only* this request
.end(function(err, res){
.get('/some-url')
.use(prefix) // Prefixes *only* this request
.use(nocache) // Prevents caching of *only* this request
.end(function(err, res){
// Do something
});
});
```

Existing plugins:
Expand Down Expand Up @@ -122,8 +116,6 @@ Edit tests and refresh your browser. You do not have to restart the test runner.

**bower** is configured via the `bower.json` file. Bower installs files directly from git/github without any transformation.

**component** is configured via the `component.json` file.

## License

MIT
20 changes: 0 additions & 20 deletions component.json

This file was deleted.