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
| 06-10 13:34:03.623 12757 12776 E TiDownloadManager: (pool-2-thread-2) [24,243257] Exception downloading http://beerimages.pintley.com/12304/hades_mobileThumb.png | |
| 06-10 13:34:03.623 12757 12776 E TiDownloadManager: java.io.FileNotFoundException: /mnt/sdcard/com.pintley.Pintley/remote-image-cache/c4893e90ebeefd672ccd1b9fad902b7b8eec0e8e.hdr (Permission denied) | |
| 06-10 13:34:03.623 12757 12776 E TiDownloadManager: at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method) | |
| 06-10 13:34:03.623 12757 12776 E TiDownloadManager: at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232) | |
| 06-10 13:34:03.623 12757 12776 E TiDownloadManager: at java.io.FileOutputStream.<init>(FileOutputStream.java:94) | |
| 06-10 13:34:03.623 12757 12776 E TiDownloadManager: at java.io.FileOutputStream.<init>(FileOutputStream.java:66) | |
| 06-10 13:34:03.623 12757 12776 E TiDownloadManager: at java.io.FileWriter.<init>(FileWriter.java:42) | |
| 06-10 13:34:03.623 12757 12776 E TiDownloadManager: at org.appcelerator.titanium.util |
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
| exports.Analytics = function() { | |
| // testflight | |
| if (Ti.Platform.osname !== 'android') { | |
| this.testflight = require("ti.testflight"); | |
| this.testflight.token('teamtokengoeshere'); | |
| Ti.API.debug("module is => " + this.testflight); | |
| } | |
| Titanium.include('/lib/analytics.js'); |
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
| <cfcomponent name="CustomerConfig" entityname="CustomerConfig" | |
| table="CustomerConfigs" persistent="true" output="false"> | |
| <cfproperty name="customerConfigID" type="numeric" fieldtype="id"/> | |
| <cfproperty name="systemConfigs" singular="systemConfig" lazy="false" fieldtype="one-to-many" cfc="SystemConfig" fkcolumn="customerConfigID" inverse="true"/> | |
| </cfcomponent> |
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
| test gist |
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
| function Common(input) { | |
| this.phrase = input; | |
| }; | |
| Common.prototype.doIt = function() { | |
| return this.phrase; | |
| }; | |
| module.exports = Common; |
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
| var secondCall = require('TestSingleton'); | |
| var NewWindow = function() { | |
| var win = Titanium.UI.createWindow({ | |
| title:'Win 2', | |
| backgroundColor:'#c00' | |
| }); | |
| var label1 = Titanium.UI.createLabel({ | |
| color:'#999', |
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
| var MyCustomWindow = function(navController,title,number,points) { | |
| var win = Ti.UI.createWindow({custom stuff here}); | |
| return win; | |
| }; | |
| module.exports = MyCustomWindow; |
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
| test |
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
| outerloop: | |
| for (var i=0;i<10;i++) { | |
| Ti.API.debug('outerloop: '+i); | |
| innerloop: | |
| for (var x=0;x<10;x++) { | |
| Ti.API.debug('innerloop: '+x); | |
| if (x === i) { | |
| break innerloop; | |
| } | |
| } |
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
| /** | |
| * @author Shannon Hicks | |
| */ | |
| // detect screen density once because Ti.Platform.displayCaps calls are expensive | |
| var retina = Ti.Platform.displayCaps.density == 'high'; | |
| var BeerRow = function(beer) { | |
| // create a container object | |
| var row = {}; |
OlderNewer