A simple to use API interface to help get you off the ground quickly and efficiently with your Moltin JavaScript apps.
📚 API reference — 📚 moltin.com
| const { send } = require('micro') | |
| const { get, router } = require('microrouter') | |
| const cors = require('micro-cors')() | |
| const moltinGateway = require('@moltin/sdk').gateway | |
| const moltin = moltinGateway({ | |
| client_id: process.env.MOLTIN_CLIENT_ID, | |
| client_secret: process.env.MOLTIN_CLIENT_SECRET | |
| }) |
A simple to use API interface to help get you off the ground quickly and efficiently with your Moltin JavaScript apps.
📚 API reference — 📚 moltin.com
| module.exports = { | |
| config: { | |
| // default font size in pixels for all tabs | |
| fontSize: 16, | |
| // font family with optional fallbacks | |
| fontFamily: | |
| 'Operator Mono, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
| // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) |
| const initialState = { | |
| minDb: 29, | |
| maxDb: 35, | |
| glazedOnly: false, | |
| unglazedOnly: false, | |
| doorTypes: [], | |
| doorWidths: [], | |
| manufacturer: [], | |
| dirty: false, | |
| isFiltering: false, |
| const EMBED_ID = '<%= embedId %>' | |
| const APP_URL = '<%= appUrl %>' | |
| const RGB = '<%= rgb %>' | |
| const TEXT_COLOR = '<%= textColor %>' | |
| const RED = '<%= red %>' | |
| const GREEN = '<%= green %>' | |
| const BLUE = '<%= blue %>' | |
| const _getElement = selector => { | |
| return document.querySelector(selector) |
| const express = require('express') | |
| const path = require('path') | |
| const app = express() | |
| app.set('views', __dirname + '/views'); | |
| app.set('view engine', 'ejs') | |
| app.get('/test', (req, res) => { | |
| res.render('home') | |
| }) |
| <Dropdown> | |
| <DropdownItem to="/projects">My Projects</DropdownItem> | |
| <DropdownItem to="/projects">Edit Profile</DropdownItem> | |
| <DropdownItem to="/projects">Logout</DropdownItem> | |
| </Dropdown> |
| #!/bin/sh | |
| brew install Caskroom/cask/java | |
| brew cask install google-chrome | |
| brew cask install mongodb | |
| brew cask install vlc | |
| brew cask install atom | |
| brew cask install sequel-pro | |
| brew cask install spotify | |
| brew cask install elasticsearch17 |
View an invoice as a guest
Click 'Pay Using Card'
Uncaught TypeError: Cannot read property 'number' of undefined
if (vm.card.number == '') {| $(document).on('ready', function() { | |
| return this.on('#enquiry-modal submit', 'form[data-analytics-submit]', function(e) { | |
| if (window.ga) { | |
| return window.ga('send', 'Send Message', $(this).attr('data-analytics-submit'), 'submit'); | |
| } | |
| }); | |
| }); |