This file contains 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 SSSocial(options) { | |
switch (Ti.Platform.osname) { | |
case 'iphone': | |
case 'ipad': | |
this.fontfamily = 'SSSocialRegular'; | |
break; | |
case 'android': | |
this.fontfamily = 'SSSocialRegular'; | |
} |
This file contains 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
/** | |
* Helper Class for forecast.io webservice | |
*/ | |
function ForecastIO(api_key) { | |
API_ENDPOINT = 'https://api.forecast.io/forecast/'; | |
/** | |
* Create a new instance | |
* | |
* @param String $api_key |
This file contains 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 doNotBackUp = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory); | |
doNotBackUp.remoteBackup = false; |
This file contains 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 geo = require('bencoding.basicgeo'); | |
Alloy.Globals.geoCurrent = geo.createCurrentGeolocation(); | |
Alloy.Globals.geoCoder = geo.createGeocoder(); | |
Alloy.Globals.helpers = geo.createHelpers(); | |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<resources> | |
<string name="start_with_space">\ I have a space before me.</string> | |
</resources> |
This file contains 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
<Alloy> | |
<TableViewRow id="row" class="row" className="recommends"> | |
<Label id="message"> | |
</TableViewRow> | |
</Alloy> |
This file contains 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
/* | |
* Copyright (c) 2008 Plausible Labs Cooperative, Inc. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* 1. Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. | |
* 2. Redistributions in binary form must reproduce the above copyright |
This file contains 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
require('tiparse'); | |
if(OS_ANDROID) { | |
var countly = require("ly.count"); | |
countly.countInit(); | |
} else if(OS_IOS) { | |
var RichText = require('com.obscure.RichText'), | |
uTils = require('uTils'), | |
countly = require('count.ly'); | |
countly.start(); |
This file contains 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
<div id="recaptcha_widget" style="display:none"> | |
<div class="form-group"> | |
<label class="control-label col-sm-3">reCAPTCHA</label> | |
<div class="col-sm-8"> | |
<a id="recaptcha_image" href="#" class="thumbnail"></a> | |
<div class="recaptcha_only_if_incorrect_sol" style="color:red">Incorrect please try again</div> | |
</div> | |
</div> | |
<div class="form-group"> |