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
    
  
  
    
  | /** | |
| * Get a random floating point number between `min` and `max`. | |
| * | |
| * @param {number} min - min number | |
| * @param {number} max - max number | |
| * @return {number} a random floating point number | |
| */ | |
| function getRandomFloat(min, max) { | |
| return Math.random() * (max - min) + min; | |
| } | 
  
    
      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
    
  
  
    
  | <nav aria-label="Page navigation example"> | |
| <ul class="pagination"> | |
| <li class="page-item {% unless paginate.previous.is_link %} disabled {% endunless %}"> | |
| <a class="page-link" href="{{ paginate.previous.url }}" aria-label="Previous"> | |
| <span aria-hidden="true">«</span> | |
| <span class="sr-only">{{ 'general.pagination.previous' | t }}</span> | |
| </a> | |
| </li> | |
| {% assign count = paginate.pages %} | |
| {% for part in paginate.parts %} | 
  
    
      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
    
  
  
    
  | var gulp = require('gulp'); | |
| var sass = require('gulp-sass'); | |
| var replace = require('gulp-replace'); | |
| var autoprefixer = require('gulp-autoprefixer'); | |
| var concat = require('gulp-concat'); | |
| gulp.task('compilesass', function() { | |
| // root SASS file (contains all your includes) | |
| return gulp.src('./sass/style.scss') | |
| // compile SASS to CSS | 
  
    
      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
    
  
  
    
  | /* | |
| * Project: Shopify AJAX Cart Plugin | |
| * Description: Provides AJAX cart functionality for interacting with the Shopify AJAX API so you don't need an "Update Cart" button | |
| * Dependency: jQuery 1.6+ | |
| * Author: Ryan Marshall (ryan@schmoove.co.nz) | |
| * License: Free | |
| * Usage: | |
| * | |
| * $('#cart-form').shopifyAJAXCart({ | |
| * item: '.line-item-container', | 
  
    
      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
    
  
  
    
  | var Shopify = Shopify || {}; | |
| // --------------------------------------------------------------------------- | |
| // Money format handler | |
| // --------------------------------------------------------------------------- | |
| Shopify.money_format = "${{amount}}"; | |
| Shopify.formatMoney = function(cents, format) { | |
| if (typeof cents == 'string') { cents = cents.replace('.',''); } | |
| var value = ''; | |
| var placeholderRegex = /\{\{\s*(\w+)\s*\}\}/; | |
| var formatString = (format || this.money_format); | 
  
    
      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
    
  
  
    
  | // Getting a file through XMLHttpRequest as an arraybuffer and creating a Blob | |
| var rhinoStorage = localStorage.getItem("rhino"), | |
| rhino = document.getElementById("rhino"); | |
| if (rhinoStorage) { | |
| // Reuse existing Data URL from localStorage | |
| rhino.setAttribute("src", rhinoStorage); | |
| } | |
| else { | |
| // Create XHR and FileReader objects | |
| var xhr = new XMLHttpRequest(), | 
OlderNewer