mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Update README.
This commit is contained in:
@@ -103,7 +103,7 @@ json.main // ['foo.js', 'bar.js']
|
||||
#### .find(folder, callback)
|
||||
|
||||
Finds the `json` filename inside a folder.
|
||||
Checks if a `bower.json` exists, falling back to the deprecated `component.json`.
|
||||
Checks if a `bower.json` exists, falling back to `component.json` (deprecated) and `.bower.json`.
|
||||
If no file was found, the callback is called with a `error.code` of `ENOENT`.
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user