> echo hash('sha256', 'bla-bla-bla');
> e29256c37ac614866b41c51eb8bf013d2f0b208988a21016e0abf6e81fc99c58
GET '/posts/slug/'
{
post: { /* ... */ }
}
GET '/posts/slug/comments/'
{
comments: { /* ... */ }
}
GET '/posts/slug/comments/users/'
{
users: { /* ... */ }
}
GET '/posts/slug/author/'
{
author: { /* ... */ }
}
GET '/posts/slug/meta/'
{
meta: { /* ... */ }
}
GET '/posts/slug/'
{
post: { /* ... */ },
linked: {
users: { /* ... */ },
comments: { /* ... */ },
meta: { /* ... */ },
},
}
var myCars = [
{ bmw: "E30", audi: "80", toyota: "Camry"},
{ bmw: "E46", audi: "TT", toyota: "Prius"},
{ bmw: "E92", audi: "100", toyota: "Tundra"}
];
var bmwCars = myCars.map( function(a) {return a.bmw});
console.log(bmwCars);//["E30", "E46", "E92"]
$(document).ready(function() {
$("#billing_phone").mask("(999) 99-99-999");
$("#billing_phone").on("blur", function() {
var last = $(this).val().substr( $(this).val().indexOf("-") + 1 );
if( last.length == 3 ) {
var move = $(this).val().substr( $(this).val().indexOf("-") - 1, 1 );
var lastfour = move + last;
var first = $(this).val().substr( 0, 9 );
$(this).val( first + '-' + lastfour );
}
});
}
window.scrollTo(0,1);
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">