Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vebersol/console-cross-browser

An alias to avoid errors in javascript using console.log and other properties.
https://github.com/vebersol/console-cross-browser

Last synced: 4 days ago
JSON representation

An alias to avoid errors in javascript using console.log and other properties.

Awesome Lists containing this project

README

        

# Console Cross Browser

An alias to avoid errors in javascript using console properties.

# Usage

Using these alias you'll avoid errors in browsers that doesn't support console properties natively or doesn't have any debugger tool installed and running.

## Available Alias

_cl(arguments)_

```javascript
console.log(arguments)
```

_cd(arguments)_

```javascript
console.dir(arguments)
```

_cg(arguments)_

```javascript
console.group();
console.log(arguments);
console.groupEnd();
```

# License

MIT License - http://www.opensource.org/licenses/MIT