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 xmlrpc = require('./lib/xmlrpc'); | |
| var client = xmlrpc.createClient({ | |
| url: 'https://api.example.com/XML-RPC' | |
| , username: 'xxxx' | |
| , password: 'xxxx' | |
| }); | |
| client | |
| .call('foo.methodName') |
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 TiFtp = { | |
| config: { | |
| host: null, | |
| port: 21, | |
| path: null, | |
| user: null, | |
| password: null | |
| }, | |
| init: function(_host, _path, _user, _password) { | |
| if(!_host || !_path || !_user || !_password) { |
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
| Ti.include('overrideTabs.js'); | |
| /* | |
| This is a typical new project -- a tab group with three tabs. | |
| */ | |
| var tabGroup = Ti.UI.createTabGroup(); | |
| /* | |
| Tab 1. |
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({ | |
| backgroundColor:"#fafaf9" | |
| }); | |
| var logo = Ti.UI.createView({ | |
| backgroundImage:"info_usat_logo.png", | |
| width:157, | |
| height:131, | |
| top:30, | |
| left:30 |
NewerOlder