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
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery-1.10.1.min.js"></script> | |
| <script> | |
| (function($, window, document){ | |
| $(document).ready(function(){ | |
| $(window).blur(function(){ | |
| $('h1').text("Cambio il titolo al blur"); | |
| }); |
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
| processor : 0 | |
| vendor_id : GenuineIntel | |
| cpu family : 6 | |
| model : 26 | |
| model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz | |
| stepping : 5 | |
| microcode : 0x16 | |
| cpu MHz : 2266.747 | |
| cache size : 8192 KB | |
| physical id : 0 |
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
| module.exports = exports = { | |
| create : function(notCachedClient){ | |
| var cachedClient = {}; | |
| var cache = {}; | |
| Object.keys(notCachedClient).forEach(function(method){ | |
| cachedClient[method] = function(){ | |
| var args = Array.prototype.slice.call(arguments), | |
| cb = args.pop(); |
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
| task("pre:compile",function(event,logger){ | |
| /*COMPILA GLI ASSETS*/ | |
| var exec = require('child_process').exec; | |
| function puts(error, stdout, stderr) { | |
| logger.info("---- GENERAZIONE ASSETS COMPLETATA ----"); | |
| } | |
| exec("cd assets_src && ./convert.sh", puts); | |
| }); |
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
| #!/bin/bash | |
| DEST_IPHONE="../app/assets/iphone/images/" | |
| DEST_ANDROID="../app/assets/android/images/" | |
| if [ $# -gt 0 ] | |
| then | |
| PARAMETRO=$1 | |
| else | |
| PARAMETRO='vuoto' |
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 path = require("path"); | |
| module.exports = new function() { | |
| // local values | |
| /*******************************************************************************/ | |
| /* | |
| local values used for defining the required properties (IE: you can change this section to | |
| taste by adding or removing values if desired) |
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
| /* | |
| * Appcelerator Titanium Mobile | |
| * Copyright (c) 2011-2012 by Appcelerator, Inc. All Rights Reserved. | |
| * Licensed under the terms of the Apache Public License | |
| * Please see the LICENSE included with this distribution for details. | |
| */ | |
| module.exports = new function() { | |
| var finish; | |
| var valueOf; |
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
| /* | |
| * Appcelerator Titanium Mobile | |
| * Copyright (c) 2011-2012 by Appcelerator, Inc. All Rights Reserved. | |
| * Licensed under the terms of the Apache Public License | |
| * Please see the LICENSE included with this distribution for details. | |
| */ | |
| var suites = [ | |
| {name: "analytics"}, | |
| {name: "blob"}, |
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
| LI> start --suite=timeout | |
| harness deleted | |
| harness does not exist, creating | |
| temp ios harness dir already exist | |
| harness created | |
| harness updated with template | |
| harness suites updated | |
| harness tiapp.xml updated | |
| app.js updated for harness | |
| running iOS simulator version 7.0 |
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.open = function(f) { | |
| try { | |
| Ti.Android.currentActivity.startActivity(Ti.Android.createIntent({ | |
| action : Ti.Android.ACTION_VIEW, | |
| type : 'application/pdf', | |
| data : f.getNativePath() | |
| })); | |
| f = null; | |
| } catch (err) { | |
| f = null; |