Skip to content

Commit

Permalink
Merge pull request #1082 from damiencaselli/remove-component
Browse files Browse the repository at this point in the history
Remove componentjs mentions, update Readme format
  • Loading branch information
kornelski authored Oct 11, 2016
2 parents 6e6f48f + 0f1b8ee commit edaa52c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 33 deletions.
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.

0 comments on commit edaa52c

Please sign in to comment.