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
/* | |
|-------------------------------------------------------------------------- | |
| class ComponentA | |
|-------------------------------------------------------------------------- | |
| | |
| [long description] | |
| | |
| Example | |
<div class="{{ identifier }}"> | |
<div class="component-a__element"> |
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
# Usage: IE={box} vagrant up | |
# | |
# Eg. IE=XPIE6 vagrant up | |
boxes = { | |
"XPIE6" => "http://aka.ms/vagrant-xp-ie6", | |
"XPIE8" => "http://aka.ms/vagrant-xp-ie8", | |
"VistaIE7" => "http://aka.ms/vagrant-vista-ie7", | |
"Win7IE8" => "http://aka.ms/vagrant-win7-ie8", | |
"Win7IE9" => "http://aka.ms/vagrant-win7-ie9", |
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 { Route } from "react-router-dom"; | |
import TransitionGroup from "react-transition-group/TransitionGroup"; | |
import TransitionedPage from './transitionedPage'; | |
const HomePage = () => <div>Home</div> | |
const ContactPage = () => <div>Contact</div> | |
const firstChild = props => { |
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 { Route } from "react-router-dom"; | |
import TransitionGroup from "react-transition-group/TransitionGroup"; | |
import TransitionedPage from './transitionedPage'; | |
const HomePage = () => <div>Home</div> | |
const ContactPage = () => <div>Contact</div> | |
const App = () => { |
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
$ie8: false !default; | |
$ie9: false !default; | |
$lt-ie9: $ie7 or $ie8; | |
// Compass cross-browser support configuration | |
// http://compass-style.org/reference/compass/support/ | |
$legacy-support-for-ie6: false; | |
$legacy-support-for-ie7: $ie7; | |
$legacy-support-for-ie8: $ie8; |
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 RETRIES = 10; | |
[...Array(RETRIES).keys()].forEach(i => { | |
const timeout = Math.pow(2, i); | |
console.log(timeout); | |
}); |
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
<html> | |
<head> | |
// ... | |
<link rel="manifest" href="/manifest.webmanifest"> |
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 App( | |
// usual config.scss stuff with set !default values | |
){ | |
@import 'base'; | |
@import 'ui.type'; | |
@import 'ui.buttons'; | |
// ... | |
} | |
// Init |
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 MyNamespace = MyNamespace || {}; | |
(function ($) { | |
"use strict"; | |
var $w = $(window), | |
BU = MyNamespace.Util | |
; |
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 MyNamespace = MyNamespace || {}; | |
(function ($) { | |
"use strict"; | |
var $w = $(window), | |
BU = MyNamespace.Util | |
; |
NewerOlder