AMPがJS対応するのに、Worker だったらAMPの指標のパフォーマンス的に許容できるから、それに向けて頑張るという発表があった。
好きなJavaScriptをAMPで実行できるようになるかも。Web Workerで実現か? | 海外SEO情報ブログ
つい先日、その試験実装が公開された https://github.com/ampproject/worker-dom
AMPがJS対応するのに、Worker だったらAMPの指標のパフォーマンス的に許容できるから、それに向けて頑張るという発表があった。
好きなJavaScriptをAMPで実行できるようになるかも。Web Workerで実現か? | 海外SEO情報ブログ
つい先日、その試験実装が公開された https://github.com/ampproject/worker-dom
language: php | |
php: | |
- 7.0 | |
- 7.1 | |
services: | |
- mysql | |
addons: |
It's time to replace CoffeeScript with Babel and CoffeeLint with eslint.
CoffeeScript was useful a few years ago. It provided many features that
JavaScript was lacking. It gave us the fat arrow (lexical this
functions),
default parameters, destructuring assignments, splats (spread operator), a
class
keyword, block strings, and more. Everything in the list above is now
part of the JavaScript standard. JavaScript is moving forward and gaining
$ docker tag <image>:<original tag> <image>:<alias>
$ docker push <image>:<alias>
<?php | |
/** | |
* Part of the Fuel framework. | |
* | |
* @package Fuel | |
* @version 1.7 | |
* @author Fuel Development Team | |
* @license MIT License | |
* @copyright 2010 - 2014 Fuel Development Team | |
* @link http://fuelphp.com |
#!/bin/bash | |
namespace=AWS/Billing | |
os_name=`uname` | |
now=`date -u "+%Y-%m-%dT%H:%M:%SZ"` | |
if [ $os_name = "Darwin" ]; then | |
yesterday=`date -u -v-1d "+%Y-%m-%dT%H:%M:%SZ"` | |
else | |
yesterday=`date -u -d "1 days ago" "+%Y-%m-%dT%H:%M:%SZ"` | |
fi | |
start_time=${1:-$yesterday} |
chpwd() { | |
ls_abbrev | |
} | |
ls_abbrev() { | |
# -a : Do not ignore entries starting with .. | |
# -C : Force multi-column output. | |
# -F : Append indicator (one of */=>@|) to entries. | |
local cmd_ls='ls' | |
local -a opt_ls | |
opt_ls=('-aCF' '--color=always') |
# WAIT! Do consider that `wait` may not be needed. This article describes | |
# that reasoning. Please read it and make informed decisions. | |
# https://www.varvet.com/blog/why-wait_until-was-removed-from-capybara/ | |
# Have you ever had to sleep() in Capybara-WebKit to wait for AJAX and/or CSS animations? | |
describe 'Modal' do | |
should 'display login errors' do | |
visit root_path |