https://github.com/msavin/debugonly
A debugOnly debugOnly package
https://github.com/msavin/debugonly
Last synced: 2 months ago
JSON representation
A debugOnly debugOnly package
- Host: GitHub
- URL: https://github.com/msavin/debugonly
- Owner: msavin
- Created: 2015-12-17T09:00:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-17T09:06:45.000Z (over 9 years ago)
- Last Synced: 2025-02-11T04:11:30.803Z (4 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The debugOnly debugOnly Package for Meteor
==========================================The debugOnly package is a debugOnly package that tells you if you are in debugOnly mode. It drops a `debugOnly` variable on the client and server that returns true.
How to Use
==========First, add the package to your application:
meteor add msavin:debugonly
Then, wrap whatever code you want through a debugOnly check:
```javascript
if (debugOnly) {
// unleash the hacks!!
}
```Licensed under MIT license, brought to you by Meteor Toys.