- 03.05.2024 CSS SVG background with Data URIs
- 10.10.2023 Daily automatically fetch and commit with GitHub Actions
- 12.12.2022 Automatically publish to npm using GitHub Actions
- 26.10.2018 Find and replace Sass Compass mixins
- 08.02.2018 SVG Sprite
define(function(require) { | |
var | |
$ = require('jquery'), | |
Command = function() {} | |
; | |
/* This detects if the application runs in iOS standalone mode and | |
/* manually opens clicked links in webapp */ | |
Command.prototype.execute = function() { |
@import "compass/css3/shared"; | |
// NOTE: | |
// All mixins for the 2009 spec have been written assuming they'll be fed property values that | |
// correspond to the standard spec. Some mixins can be fed values from the 2009 spec, but don't | |
// rely on it. The `legacy-order` mixin will increment the value fed to it because the 2009 | |
// `box-ordinal-group` property begins indexing at 1, while the modern `order` property begins | |
// indexing at 0. | |
// if `true`, the 2009 properties will be emitted as part of the normal mixin call |
I have always struggled with getting all the various share buttons from Facebook, Twitter, Google Plus, Pinterest, etc to align correctly and to not look like a tacky explosion of buttons. Seeing a number of sites rolling their own share buttons with counts, for example The Next Web I decided to look into the various APIs on how to simply return the share count.
If you want to roll up all of these into a single jQuery plugin check out Sharrre
Many of these API calls and methods are undocumented, so anticipate that they will change in the future. Also, if you are planning on rolling these out across a site I would recommend creating a simple endpoint that periodically caches results from all of the APIs so that you are not overloading the services will requests.