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
// MIT License | |
// | |
// Copyright (c) 2019 Simon Lightfoot | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
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
import 'dart:math' as math; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/src/rendering/sliver.dart'; | |
import 'package:flutter/src/rendering/sliver_grid.dart'; | |
class _CoordinateOffset { | |
final double main, cross; | |
_CoordinateOffset(this.main, this.cross); | |
} |
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 win = Ti.UI.createWindow(); | |
// Main Window | |
var twitter = Ti.UI.createButton({ | |
title : 'Set Tweet' | |
}); | |
var accessToken = null; | |
var accessTokenSecret = null; | |
///////////LOAD ACCESS TOKEN |
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
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:700|Droid+Serif' rel='stylesheet' type='text/css'> | |
<div id="banner"> | |
<div id="bannertext"> | |
<h1>PARAL & LAX</h1> | |
<p>Finest webdesign since 1870</p> | |
</div> | |
</div> | |
<div id="content"> |
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
<ul class="simple-gallery"> | |
<li class="show"> | |
<img src="http://minimalmonkey.com/examples/simple-gallery/images/image-1.jpg" /> | |
</li> | |
<li> | |
<img src="http://minimalmonkey.com/examples/simple-gallery/images/image-2.jpg" /> | |
</li> | |
<li> | |
<img src="http://minimalmonkey.com/examples/simple-gallery/images/image-3.jpg" /> | |
</li> |
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
/* | |
State. | |
*/ | |
var simplify = Ti.Platform.osname === 'mobileweb'; | |
var currentFlashes = {}; | |
/* | |
Public API. | |
*/ | |
exports.chainAnimateForever = chainAnimateForever; |
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 CircleLoaderView = require("CircleLoaderView"); | |
var myloader = new CircleLoaderView({ | |
width : 200, | |
centerWidth : 100, | |
backgroundColor : "#fff", | |
tintColor : "blue", | |
textColor : "red", | |
labelFontSize : 28 |
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 baseUrl = 'https://api.parse.com/1', | |
appId = 'XXXXXXXXXXXXXXX', | |
apiKey = 'XXXXXXXXXXXXXX'; // make sure to use the REST API Key | |
var _register = function(params, lambda, lambdaerror) { | |
var method = 'POST', | |
url = baseUrl + '/installations', | |
payload = (params) ? JSON.stringify(params) : ''; | |
_helper(url, method, payload, function(data, status) { |
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 U = require('utils'); | |
var VBN = require('viewBasedNavigator'); | |
exports.applyTo = function(args) { | |
args = args || {}; | |
U.def(args, { | |
id: null, | |
view: null, | |
anchor: 'left', | |
expanded: 320, |
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
/* | |
* Android API Guide | |
* http://developer.android.com/guide/topics/ui/actionbar.html | |
* Android Design Guide | |
* http://developer.android.com/design/patterns/actionbar.html | |
* Titanium Mobile will support someday | |
* https://jira.appcelerator.org/browse/TIMOB-2371 | |
*/ | |
var osName = Ti.Platform.osname, | |
isAndroid = osName==='android', |
NewerOlder