- We've got some components
A
,B
andC
which provide different slots.const A = { template: `<div><slot name="a">Default A Content</slot></div>` }
const B = {
{ | |
"scripts": { | |
"dev": "webpack-dev-server --hot --open", | |
"dist": "rm -rf public && NODE_ENV=production webpack --config webpack-dist.config.js --display-optimization-bailout", | |
"jbdist": "tnpm i && NODE_ENV=production webpack --config webpack-dist.config.js" | |
}, | |
"dependencies": { | |
"babel-runtime": "^6.23.0", | |
"badjs-report": "^1.3.2", | |
"classnames": "^2.2.5", |
require('./module.js') // { a: 1 } | |
import module from './module.js' // undefined | |
import { a } from './module.js' // 1 | |
require('./module2.js') // { default: { a: 1 }, b: 2 } | |
import module2 from './module2.js' // { a: 1} | |
import { b } from './module2.js' // 2 | |
require('./module3.js') // { default: { a: 1 }, b: 2 } |
Axure RP 7.0注册码 | |
用户名:axureuser | |
序列号:8wFfIX7a8hHq6yAy6T8zCz5R0NBKeVxo9IKu+kgKh79FL6IyPD6lK7G6+tqEV4LG |
// Monad | |
operator infix >>= { | |
precedence 10 | |
associativity left | |
} | |
struct _MReturn { | |
} | |
@transparent func _mreturn<Args>(a: Args) -> (_MReturn, Args) { | |
return (_MReturn(), a) |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My Iframe</title> | |
</head> | |
<body> | |
<button>Botão</button> | |
<script type="text/javascript"> |
@font-face { | |
font-family: 'cicle_gorditagordita'; | |
src: url('fonts/Cicle_Gordita-webfont.eot'); | |
src: url('fonts/Cicle_Gordita-webfont.eot?#iefix') format('embedded-opentype'), | |
url('fonts/Cicle_Gordita-webfont.woff') format('woff'), | |
url('fonts/Cicle_Gordita-webfont.ttf') format('truetype'), | |
url('fonts/Cicle_Gordita-webfont.svg#cicle_gorditagordita') format('svg'); | |
font-weight: normal; | |
font-style: normal; |
/* ------------------------ */ | |
/* LESS mixin for CSS arrow */ | |
/* ------------------------ */ | |
/* https://github.com/HugoGiraudel/LESS-Mixin-for-CSS-arrows | |
//Usage | |
.arrow(size, color, direction, offset, border-size, border-color); | |
Where |
def yes_or_no(question): | |
reply = str(raw_input(question+' (y/n): ')).lower().strip() | |
if reply[0] == 'y': | |
return True | |
if reply[0] == 'n': | |
return False | |
else: | |
return yes_or_no("Uhhhh... please enter ") |