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
App.MyView = SC.View.extend(SC.ContentDisplay, { | |
displayProperties: ['p1'], | |
contentDisplayProperties: ['c1', 'c2'], | |
p1: null, // If you call this.set('p1', something), the view will rerender | |
// if content, or c1 or c2 on content change, the view rerenders | |
contentBinding: SC.Binding.oneWay('App.controller.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
D/KrollEventManager( 1222): (main) [1,23051] Added for eventName 'click' with id 1 | |
E/TiAnalyticsSvc( 1222): (Thread-10) [384,23435] Error posting events: Host is unresolved: api.appcelerator.net:443 | |
E/TiAnalyticsSvc( 1222): java.net.UnknownHostException: Host is unresolved: api.appcelerator.net:443 | |
E/TiAnalyticsSvc( 1222): at java.net.Socket.connect(Socket.java:1037) | |
E/TiAnalyticsSvc( 1222): at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:317) | |
E/TiAnalyticsSvc( 1222): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:129) | |
E/TiAnalyticsSvc( 1222): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) |
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 row = Ti.UI.createTableViewRow({ | |
height:'auto', | |
hasChild : true, | |
backgroundColor: 'black' | |
// backgroundGradient: { | |
// type: 'linear', | |
// colors: ['#000001','#666666'], | |
// backFillStart: false | |
// } | |
}); |
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
E/System ( 53): Failure starting core service | |
E/System ( 53): java.lang.SecurityException | |
E/System ( 53): at android.os.BinderProxy.transact(Native Method) | |
E/System ( 53): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146) | |
E/System ( 53): at android.os.ServiceManager.addService(ServiceManager.java:72) | |
E/System ( 53): at com.android.server.ServerThread.run(SystemServer.java:176) |
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
miles.ui.createEntryRows = function(entries) { | |
var rows = []; | |
Ti.API.info("Rendering rows: " + entries.length); | |
var count = 0; | |
for (var i = 0; i < entries.length; i) { | |
count++; | |
if (count > 10) { | |
Ti.API.error('emergency break'); | |
break; |
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 row = Titanium.UI.createView({ | |
height:'auto', | |
layout:'vertical', | |
top:2, | |
right:2, | |
bottom:2, | |
left: 2 | |
}); | |
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
mharris@ildatch [~/dev/sproutcore/Thoth/tests] > node alltests.js | |
node.js:63 | |
throw e; | |
^ | |
Error: Cannot find module '/Users/mharris/dev/sproutcore/Thoth/tests/lib/core/SocketListener' | |
at loadModule (node.js:275:15) | |
at require (node.js:411:14) | |
at Object.<anonymous> (/Users/mharris/dev/sproutcore/Thoth/lib/Thoth.js:20:24) | |
at Module._compile (node.js:462:23) |
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
popup: function() { | |
this.set('currentView', this.getPath('pane.contentView.input1')); | |
this.notifyPropertyChange('currentView'); | |
this._previousView = this.getPath('pane.contentView.input1'); | |
sc_super(); | |
}, |
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
contextMenu: function(evt) { | |
console.log('contextmenu'); | |
evt.stopPropagation(); | |
return YES; | |
// return this.handleRightClick(evt); | |
// return this.handleRightClick(evt); | |
}, | |
mouseDown: function(evt) { | |
console.log('mousedown'); |
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
titleBinding: SC.Binding.from('App.thingController*content.bookmarks.length').transform(function(value){ | |
console.log('title binding xform %@'.fmt(value)); | |
return 'Go Back [%@]'.fmt(value); | |
}), |