Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoji Chen committed Dec 5, 2019
1 parent ce03272 commit 40d4c0e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/developer-guide/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ deck.gl (and luma.gl) are based on the probe.gl debugging library, providing use
In your browser console, select the priority you would like:

```js
deck.debug(true)
deck.log.enable()
deck.log.priority = 2
```

Expand Down
6 changes: 0 additions & 6 deletions docs/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@
+ `LNGLAT_DEPRECATED`: use `LNGLAT`
+ `METERS`: use `METER_OFFSETS`

##### Debugging

Type `deck.debug(true)` in the console together with `deck.log.priority=<number>` to enable debug mode.

deck.gl now removes most logging when bundling under `NODE_ENV=production`.


##### Debugging

Expand Down
1 change: 1 addition & 0 deletions modules/core/src/lib/layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import AttributeManager from './attribute/attribute-manager';
import UniformTransitionManager from './uniform-transition-manager';
import {diffProps, validateProps} from '../lifecycle/props';
import {count} from '../utils/count';
import log from '../utils/log';
import debug from '../debug';
import GL from '@luma.gl/constants';
import {withParameters, setParameters} from '@luma.gl/core';
Expand Down

0 comments on commit 40d4c0e

Please sign in to comment.