See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
// clearfix | |
@mixin clearfix { | |
&::after { | |
content: ""; | |
display: block; | |
clear: both; | |
} | |
} | |
// edit font rendering -> tip: use for light text on dark backgrounds |
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// ---- | |
// Sass modifiers mixin by Sarah Dayan | |
// Generate All Your Utility Classes with Sass Maps: frontstuff.io/generate-all-your-utility-classes-with-sass-maps | |
// http://frontstuff.io | |
// https://github.com/sarahdayan |
Version: 0.0.1 updated 7/1/2016
Cordova Plugins are the magic that enable our mobile web app content to access the full power of Native SDKs underneath, but through clean JavaScript APIs that work the same across all platforms we target.
Building Cordova plugins is scary for many Cordova and Ionic developers, but it doesn't have to be. This simple guide walks through the what, when, why, and how of Cordova plugin development for iOS and Android.
qHttp({ | |
url: 'YOUR_URL', | |
method: "POST", | |
data: { | |
"access_token" : 'YOUR_TOKEN' | |
} | |
}).then(function (args){ | |
// step 2 : other request | |
return qHttp({ | |
function resizePhoto(blob, size) { | |
var measurement = require('alloy/measurement'), w, h; | |
if (blob.width / blob.height >= size.width / size.height) { | |
w = measurement.dpToPX(size.width); | |
h = blob.height * measurement.dpToPX(size.width) / blob.width; | |
} else { | |
w = blob.width * measurement.dpToPX(size.height) / blob.height; | |
h = measurement.dpToPX(size.height); |
Ti.UI.setBackgroundColor('#000'); | |
var alertSettings = require("settings-dialog"); | |
var win = Ti.UI.createWindow({ | |
title:'Example', backgroundColor:'#fff', layout:"vertical" | |
}); | |
win.add(Ti.UI.createLabel({ | |
text:"Example on now to prompt user to change settings", |
// ---- | |
// libsass (v3.3.2) | |
// ---- | |
$spacer: 1rem; | |
$spacer-x: $spacer; | |
$spacer-y: $spacer; | |
$spacers: (); |
// app/lib/SVGProduct.js | |
function getImageFileFromSVG(svgOpts, name) { | |
var file = Ti.Filesystem.getFile(Ti.Filesystem.applicationCacheDirectory, | |
Ti.Utils.md5HexDigest(JSON.stringify(svgOpts))); | |
if (!file.exists()) { | |
var SVG = require('com.geraudbourdin.svgview'); | |
if (!file.write(SVG.createView(svgOpts).toImage())) { | |
Ti.API.error("Can't save to file. Product:", name); | |
return null; |