How to install: pip install ipython
- Tab Completion
In [1]: x = 3+4j
In [2]: x.<Tab>
var http = require('http'); | |
http.createServer( | |
function (req, res) { | |
var body = []; | |
req.on('error', function(err) { | |
console.error('error', err); | |
}).on('data', function(chunk) { | |
body.push(chunk); | |
}).on('end', function() { |
<template> | |
<require from="./my-element.html"></require> | |
<my-element heading="This is the heading" body-text="This is the bodyText"></my-element> | |
</template> |
<template> | |
</template> |
<template> | |
<require from="./comp.html"></require> | |
<comp></comp> | |
<comp> | |
<template replace-part="repl"> | |
This part is being replaced. | |
</template> | |
</comp> | |
<comp> | |
<template replace-part="repl"> |
<template> | |
<require from="./comp.html"></require> | |
<comp></comp> | |
<comp> | |
<template replace-part="repl"> | |
I've been replaced. | |
</template> | |
</comp> | |
<comp> | |
<template replace-part="repl"> |
<template> | |
<table> | |
<thead> | |
<tr> | |
<th>id</th> | |
<th>Title</th> | |
<th>Updated</th> | |
<th>Status</th> | |
</tr> | |
</thead> |
<template> | |
<table> | |
<thead> | |
<tr> | |
<th>id</th> | |
<th>Title</th> | |
<th>Updated</th> | |
<th>Status</th> | |
</tr> | |
</thead> |
<template> | |
</template> |
<template> | |
<button click.delegate="addData()">Add Data</button> | |
<hr> | |
Data: | |
<table> | |
<tr repeat.for="val of data"> | |
<td>${val}</td> | |
</tr> | |
</table> |