Created
May 10, 2016 21:22
-
-
Save Alex1990/edf076d01ac0135fbcb250c7479b7a00 to your computer and use it in GitHub Desktop.
A set function works in development environment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * A set function works in development environment. | |
| */ | |
| function set(vari, value) { | |
| if (ENV === 'dev') { | |
| vari = value; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment