Skip to content

Instantly share code, notes, and snippets.

View antoinegrant's full-sized avatar

Antoine Grant antoinegrant

  • Shopify
  • Kelowna, BC, Canada
  • 22:40 (UTC -07:00)
View GitHub Profile
@antoinegrant
antoinegrant / machine.js
Last active January 9, 2020 18:53
Generated by XState Viz: https://xstate.js.org/viz
const machine = {
id: "checkoutMachine",
context: {
contact: {
email: undefined
},
shipInfo: {
street: undefined,
country: undefined,
province: undefined,
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['mb/core', 'jQuery', 'handlebars', 'responsive/lib/jquery.cookie'], factory);
} else {
// Browser globals (root is window)
root.returnExports = factory(root.mb, root.jQuery, root.Handlebars);
}
}(this,
@antoinegrant
antoinegrant / index.html
Created October 13, 2012 01:27
Experimenting with nth-child, a SASS loop & animating objects on a circular path. No classes.
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>