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 Parallax = (function() { | |
let SCROLL_STOP = 130; | |
let selectors = { | |
main: '.js-parallax', | |
title: '.js-parallax__title', | |
content: '.js-parallax__content' | |
} | |
function createMap(in_min, in_max, out_min, out_max) { |
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
// Re-init sidebar function | |
var rtlsidebar = (function () { | |
let sidebarjs; | |
function init() { | |
var sidebarElement = $('#sidebarjs'); | |
var sidebarPosition = isRTL() ? "right" : "left"; |
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 PORT = process.env.PORT || 8000; | |
const express = require('express'); | |
const axios = require('axios'); | |
PRODUCT_OPTIONS_ENUM = { COLOR_TITLE: { EN: 'Color' }; // this is more complex object at live | |
app.post('/product-update', function (req, res, next) { | |
const filterByName = (name) => { | |
return (item) => { |