UPDATE: With the assets command of the TiCons CLI / Module this can be done even simpeler by calling $ ticons assets or an alloy.ymk using:
task("pre:load", function(event, logger) {
require('ticons').assets();
});
UPDATE: With the assets command of the TiCons CLI / Module this can be done even simpeler by calling $ ticons assets or an alloy.ymk using:
task("pre:load", function(event, logger) {
require('ticons').assets();
});
| http://developer.android.com/guide/topics/resources/providing-resources.html#ScreenAspectQualifier | |
| if ((Ti.Platform.displayCaps.platformWidth / Ti.Platform.displayCaps.platformHeight) < (((Ti.Gesture.orientation === Ti.UI.LANDSCAPE_LEFT)) ? (320 / 240) : (240 / 320)))) { | |
| Ti.API.info('I am LONG'); | |
| } else { | |
| Ti.API.info('I am NOTLONG'); | |
| } |
| // For iOS7 only, set the window's top to 20 so they start under the status bar. | |
| Alloy.Globals.windowTop = (OS_IOS && parseInt(Ti.Platform.version[0], 10) >= 7) ? 20 : 0; |
| // MultiExporter.jsx | |
| // Version 0.1 | |
| // Version 0.2 Adds PNG and EPS exports | |
| // Version 0.3 Adds support for exporting at different resolutions | |
| // Version 0.4 Adds support for SVG, changed EPS behaviour to minimise output filesize | |
| // Version 0.5 Fixed cropping issues | |
| // Version 0.6 Added inner padding mode to prevent circular bounds clipping | |
| // | |
| // Copyright 2013 Tom Byrne | |
| // |
| { | |
| "globals": [ | |
| "Ti": false, | |
| "Titanium": false, | |
| "Alloy": false, | |
| "describe": false, | |
| "it": false, | |
| "before": false, | |
| "beforeEach": false, | |
| "after": false, |
| Laravel Documentation http://laravel.com/docs/introduction [ olmazsa olmaz :) ] | |
| Laracast https://laracasts.com/series [ özellikle Laravel From Scratch kısmında, Laravel'in temel prensipleri güzel anlatılmış ] | |
| Visualizing Laravel Relationships http://matthewhailwood.co.nz/visualizing-laravel-relationships/ | |
| Laravel Blog örneği https://github.com/ibrahimhizlioglu/laravel-blog-ornegi |
| <?php | |
| class iOSPNGNormalizer | |
| { | |
| public static function fix($filename, $destfilename = null) | |
| { | |
| try { | |
| $handle = fopen($filename, "rb"); | |
| $oldPNG = fread($handle, filesize($filename)); | |
| fclose($handle); |
| // Déclaration d'une classe | |
| var MyClass = function (pParam1, pParam2) | |
| { | |
| // Scope fake publique | |
| var that; | |
| // Propriété privée | |
| var _privateVar = 5; | |
| // Méthode privée |
| function collapse(){ | |
| $.myView.collapse(); | |
| // $.myView.expand(); | |
| } |
| $.mySwitch.addEventListener('change',function(e){ | |
| Ti.API.info('Switch value: ' + $.mySwitch.value); | |
| }); |