mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
readme - fix code style on examples
This commit is contained in:
@@ -240,12 +240,14 @@ var bower = require('bower');
|
||||
bower.commands
|
||||
.install(paths, options)
|
||||
.on('end', function (data) {
|
||||
data && console.log(data);
|
||||
if (data) {
|
||||
console.log(data);
|
||||
}
|
||||
});
|
||||
|
||||
bower.commands
|
||||
.search('jquery', {})
|
||||
.on('packages', function(packages) {
|
||||
.on('packages', function (packages) {
|
||||
// `packages` is a list of packages returned by searching for 'jquery'
|
||||
});
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user