initial commit
This commit is contained in:
21
node_modules/grim/README.md
generated
vendored
Normal file
21
node_modules/grim/README.md
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Grim [](https://travis-ci.org/atom/grim)
|
||||
|
||||
Log deprecate calls
|
||||
|
||||
## Installing
|
||||
|
||||
```sh
|
||||
npm install grim
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
Grim = require('grim')
|
||||
|
||||
function someOldMethod() {
|
||||
Grim.deprecate("Use theNewMethod instead.")
|
||||
}
|
||||
```
|
||||
|
||||
To view all calls to deprecated methods use `Grim.logDeprecations()` or get direct access to the deprecated calls by using `Grim.getDeprecations()`
|
||||
Reference in New Issue
Block a user