patternlab/styleguide/public/styleguide/js/patternlab-viewer.js
function (name,val) {
    var cookieVal = $.cookie(this.cookieName);
    cookieVal = ((cookieVal === null) || (cookieVal === "")) ? name+"~"+val : cookieVal+"|"+name+"~"+val;
    $.cookie(this.cookieName,cookieVal);
  }
function (name,val) {
    var cookieVal = $.cookie(this.cookieName);
    cookieVal = ((cookieVal === null) || (cookieVal === "")) ? name+"~"+val : cookieVal+"|"+name+"~"+val;
    $.cookie(this.cookieName,cookieVal);
  }
function ( name , val ) { var cookieVal = $ . cookie ( this . cookieName ) ; cookieVal = ( ( cookieVal === null ) || ( cookieVal === "" ) ) ? name + "~" + val : cookieVal + "|" + name + "~" + val ; $ . cookie ( this . cookieName , cookieVal ) ; }
Add a given value to the cookie
@param  {String}       the name of the key
@param  {String}       the value
Add a given value to the cookie