Update bootstrap and es6

This commit is contained in:
Rico Sta. Cruz 2015-02-24 15:42:45 +08:00
parent b671d5403b
commit b6dac10774
2 changed files with 18 additions and 1 deletions

View File

@ -83,3 +83,14 @@ Max:
.modal-body
.spinner-panel.-lg
%i
### Tooltip
data-toggle='tooltip'
title='tooltip'
data-placement='left|top|bottom|right'
$(function () {
$('[data-toogle~="tooltip"]').tooltip();
});

8
es6.md
View File

@ -101,12 +101,18 @@ export var pi = 3.14159;
var [first, last] = ["Nikola", "Tesla"];
let {title, author} = { title: "The Silkworm", author: "R. Galbraith" };
// Available in loops too
for (let {title, artist} in songs) {
// ...
}
// Functions
function greet({ name, greeting }) {
// ...
}
greet({ name: "Larry", greeting: "Ahoy" });
/*
* Spread
*/