archive: 2016

wechat not support promise on android

wechat not support promise on android wechat not support promise in low version android , but some IOS system can do it . if you debug get nothing, but the program run not correct, you can care abo

setup eslint with es6 in sublime text

setup eslint with es6 in sublime textget started with eslint12345npm install eslint -g # or npm install eslint npm install babel-eslint -g you can install it either globally or locally. configurecrea

php exec debug

php exec debug way123exec('sh /home/www/shell/update.sh 2>&1', $output);print_r($output);

animation libraries

Animation LibraiesAnimate.Css Bounce.js Magic DynCss CSShake Hover Velocity Favico.js AniJs

use es6 with gulp

useing es6 with gulpcheck your gulp versionFirstly make sure you have at least version 3.9 of both the CLI and local version of gulp.To check which version you have,open up terminal and type: 1gulp -

a responsive solution

a responsive solution12345base-font-size: 100px;design-width: 640px;base-width-rem: 640px/100px; # 6.4remhtml-font-size: device-width / 6.4;