Last active
August 29, 2015 14:15
-
-
Save emilioicai/170469fee4325c1f6f6d to your computer and use it in GitHub Desktop.
Adding/Retrieving a Spy in Titanium
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
| /****** TiShadow Spies (Make sure it doesn't to go production) ******/ | |
| if(Titanium.App.deployType === 'development') addSpy("$", $); | |
| //retrieving | |
| var $ = getSpy("$"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment