Skip to content

Instantly share code, notes, and snippets.

View FokkeZB's full-sized avatar
*️⃣
Zappin'

Fokke Zandbergen FokkeZB

*️⃣
Zappin'
View GitHub Profile
{
"browser": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"expr": true,
"immed": true,
"indent": 4,
"latedef": "nofunc",
"newcap": true,
@FokkeZB
FokkeZB / app.tss
Last active December 19, 2015 21:09 — forked from tonylukasavage/app.tss
'Label[platform=android]': {
color: '#000' // all platforms except Android default to black
}
'Window': {
backgroundColor: '#fff' // white background instead of default transparent
}
'Window[platform=android]': {
modal: false // make android windows all heavyweight
@FokkeZB
FokkeZB / alloy.jmk
Created June 26, 2013 07:47 — forked from tsteur/alloy.jmk
My complete alloy.jmk will be here ;)
function isProduction(alloyConfig)
{
return 'production' == alloyConfig.deployType;
}
function removeUnimportantLogCallsFromContent(content)
{
if (!content) {
return;
}
@FokkeZB
FokkeZB / Profile.js
Last active December 17, 2015 18:49 — forked from timanrebel/Profile.js
Another workaround
// Alloy doesn't listen to changes, so we do:
$model.on('change', function (model) {
$.name.text = model.get('name');
});
@FokkeZB
FokkeZB / MODEL-DB.md
Last active December 17, 2015 18:49 — forked from timanrebel/Profile.js
Workaround for binding existing models in Alloy