Skip to content

Instantly share code, notes, and snippets.

コマンドプロンプトで、以下のようにcmd ファイルを生成する。
echo @php "%~dp0(モジュール名).phar" %* > (モジュール名).cmd
例えば、phpunit.phar の場合:
echo @php "%~dp0phpunit.phar" %* > phpunit.cmd
@gyohk
gyohk / gist:accc06fef2d1ce872c6e
Created March 27, 2015 00:40
nested timeline using createJS.
var timeline = new createjs.Timeline([], { start: 0 }, { paused: true });
var timeline2 = new createjs.Timeline([], { start: 0 }, { paused: true });
timeline.addTween(
createjs.Tween.get(ellipse).to({ x: 100 }, 500, createjs.Ease.cubicOut),
createjs.Tween.get(ellipse2).to({ y: 100 }, 500, createjs.Ease.cubicOut).call(function(){
timeline2.gotoAndPlay('start');
})
);
timeline2.addTween(