This file contains 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
createAlertDialog: function(config) { | |
return Ti.UI.createAlertDialog(config); | |
}, | |
createAnimation: function(config) { | |
return Ti.UI.createAnimation(config); | |
}, | |
createButton: function(config) { |
This file contains 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 args = arguments || {}; | |
/** | |
* Works, but you loose change listeners on the original model | |
*/ | |
$.user.set(args.user.attributes); | |
/** | |
* Does not work | |
*/ |
This file contains 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
// <<MyElement> becomes Ti.UI.createMyElement, so that doesn't work | |
Ti.UI.createMyElement({ | |
id: 'myId' | |
}); | |
// But give it a namespace and all of a sudden, it is translated to: | |
Sc.UI.createMySecondElement({ | |
id: 'mySecondId' | |
}) |
This file contains 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
<Alloy> | |
<Window> | |
<RightNavButton> | |
<Widget src="sc.MenuBarButton" title="Save" onClick="onSave" /> | |
</RightNavButton> | |
<Menu> | |
<Widget src="sc.MenuBarButton" title="Save" onClick="onSave" /> | |
</Menu> | |
</Window> |
This file contains 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
// First do reverse Auth call | |
var Social = require('dk.napp.social'); | |
var oauthString = ''; | |
var jsOAuth = require('jsOAuth').OAuth; | |
var oauth = jsOAuth({ | |
consumerKey: 'xxx', | |
consumerSecret: 'yyy' | |
}); | |
oauth.request({ |
This file contains 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/widgets/sc.MenuBarButton/assets/android/images/res-xhpdi/like.png | |
becomes | |
Resources/android/android/images/res-xhdpi/sc.MenuBarButton/like.png | |
but is not displaying with | |
WPATH('/images/like.png') |
This file contains 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
Verifying that +timanrebel is my openname (Bitcoin username). https://onename.io/timanrebel |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
git branch -r | grep -v tags | sed -Ene 's, *([^@]+)$,\1,p' | \ | |
while read branch; \ | |
do echo "git branch $branch $branch"; \ | |
done | sh |
OlderNewer