Replace example
with your store name
This file contains hidden or 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
module Jekyll | |
module Tags | |
class IconTag < Liquid::Tag | |
def initialize(tag_name, markup, tokens) | |
@markup = markup | |
super | |
end |
This file contains hidden or 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
export default { | |
EU: 'EUR', | |
AF: 'AFN', | |
AX: 'EUR', | |
AL: 'ALL', | |
DZ: 'DZD', | |
AS: 'USD', | |
AD: 'EUR', | |
AO: 'AOA', | |
AI: 'XCD', |
This file contains hidden or 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
import m from 'mithril' | |
export default ({ | |
lowStock, | |
remains, | |
name, | |
colour, | |
price, | |
pricing, | |
percent, |
This file contains hidden or 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
<!doctype html> | |
<html lang="{{ shop.locale }}"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="turbolinks-cache-control" content="no-preview"> | |
<title> | |
{{- page_title -}} | |
{%- if current_tags -%} |
This file contains hidden or 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
/* Modules */ | |
import m from 'mithril' | |
import stream from 'mithril/stream' | |
export default class CartAPI { | |
stream = stream('') | |
constructor () { |
This file contains hidden or 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
/* | |
Access-Control-Allow-Origin: * |
This file contains hidden or 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
import { createHash, createDecipheriv, createCipheriv, getCiphers, getHashes } from 'crypto' | |
import os from 'os' | |
/** | |
* Creates hash of an string based on available hashes of platform | |
* | |
* @param {string} input | |
* @param {string} hash | |
* @returns {string} | |
*/ |