This file contains 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
// ---- | |
// Sass (v3.4.13) | |
// Compass (v1.0.3) | |
// Toolkit (v2.9.0) | |
// ---- | |
@import "toolkit"; | |
$Placeholder-Selectors: (); |
This file contains 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
// Copyright 2012 Google Inc. | |
/** | |
* @author Chris Broadfoot (Google) | |
* @fileoverview | |
* An info panel, which complements the map view of the Store Locator. | |
* Provides a list of stores, location search, feature filter, and directions. | |
*/ | |
/** |
This file contains 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 stores = [], | |
store, | |
latLng, | |
features = null, | |
i, s; | |
for (i = 0; i < crtStores.stores.length; i++) { | |
s = crtStores.stores[i]; |
This file contains 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
const path = require('path'); | |
const webpack = require('webpack'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
module.exports = { | |
entry: [ | |
path.resolve(__dirname, 'src') | |
], |
This file contains 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
const path = require('path'); | |
const webpack = require('webpack'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
module.exports = { | |
entry: { | |
bundle: path.resolve(__dirname, 'src', 'client.js'), | |
scripts: path.resolve(__dirname, 'src', 'scripts.js') | |
}, |
This file contains 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
const path = require('path'); | |
const webpack = require('webpack'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const StaticSiteGeneratorPlugin = require('static-site-generator-webpack-plugin'); | |
module.exports = { | |
entry: [path.resolve(__dirname, 'src')], | |
output: { |
This file contains 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 React from 'react'; | |
import ReactDOMServer from 'react-dom/server'; | |
import { StaticRouter as Router } from 'react-router-dom'; | |
import App from './App'; | |
import HTML from './HTML'; | |
// static site generator | |
export default function render(locals, callback) { | |
const context = {}; |
This file contains 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 React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { BrowserRouter } from 'react-router-dom'; | |
import App from './App'; | |
const root = document.getElementById('root'); | |
ReactDOM.render(<BrowserRouter><App /></BrowserRouter>, root); |
This file contains 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
@mixin grid-not-supported { | |
// fallback with native feature detection | |
@supports not (display: grid) { | |
@content; | |
} | |
// fallback with Modernizr feature detection (IE) | |
.no-supports & { | |
@content; | |
} |
This file contains 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
@mixin display-grid { | |
// single column by default at XS size | |
@include screen-from($bp-sm-min) { | |
display: grid; | |
@include grid-not-supported { | |
display: flex; | |
flex-wrap: wrap; | |
}; |
OlderNewer