Where's my prototype?
var a = {foo: 'bar'};
var b = Object.create(a);
console.log(a);
console.log(b);
console.log(b.prototype);
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// ----------------------------------------------------------------------------- | |
// Introduction | |
// ----------------------------------------------------------------------------- | |
// Here is hacky and experimental solution for cross-scopes extends |
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// ----------------------------------------------------------------------------- | |
// Introduction | |
// ----------------------------------------------------------------------------- | |
// Here is hacky and experimental solution for cross-scopes extends |
public function actionGetPlans() | |
{ | |
$plans = craft()->recurly->getPlans(); | |
$this->returnJson($plans); | |
} |
2015/01/06 15:40:32 [info] [application] $_GET=array ( | |
'p' => 'cp/directory/install/VzUrl/', | |
) | |
$_COOKIE=array ( | |
'b82a90f0a2aa00d70f7b0fabecd42741username' => 'ab1a73af2a98a41d7ec47b60939f12c2a4f835ecs:60:"df61c6de0c0c47e5aee5115b33983590ce46c8f5czo4OiJ0aW1rZWx0eSI7";', | |
'CraftSessionId' => '9c9846c7ef30ce983ee4b33b29798c19', | |
'__zlcmid' => 'SXeJmPgmHtphrY', | |
'b82a90f0a2aa00d70f7b0fabecd42741' => '3fb08b1bfe4aa28095218dbd8427ac3ab5734d34s:404:"2b5f4f7fb708a41372e60bfa466903a4511d367fYTo2OntpOjA7czo4OiJ0aW1rZWx0eSI7aToxO3M6MzY6IjBiZGQzMTY0LTU1OGUtNGJjNS1hMGM4LTc5NGZiNjRmMjA4ZSI7aToyO3M6MzY6IjRjYTlhNDg1LTA1MzYtNDRkYi04YzM3LWEzZDMyNTBlMzBlOCI7aTozO2k6MDtpOjQ7czoxMjA6Ik1vemlsbGEvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzEwXzEpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS8zOS4wLjIxNzEuOTUgU2FmYXJpLzUzNy4zNiI7aTo1O2E6MDp7fX0=";', | |
) |
function download() { | |
return Promise.promisify(mkdirp)(path.dirname(localDumpFilePath)).then(function() { | |
return shipit.remoteCopy(remoteDumpFilePath, localDumpFilePath, { | |
direction: 'remoteToLocal' | |
}); | |
}); | |
} |
var imageName, containerName; | |
var pull = function pull() { | |
return shipit.remote("docker pull " + imageName); | |
}; | |
var rm = function rm() { | |
return shipit.remote("docker rm -f " + containerName + " || true"); | |
}; |
shipit.on('fetched', function () { | |
return shipit.local('npm install && composer install && bundle install', { | |
cwd: shipit.config.workspace | |
}).then(function() { | |
shipit.log('Installed.'); | |
}); | |
}); |
Where's my prototype?
var a = {foo: 'bar'};
var b = Object.create(a);
console.log(a);
console.log(b);
console.log(b.prototype);
shipit.currentPath
and shipit.releasesPath
now set in deploy:init
.REVISION
file in the deployed release directory.deploy:pending
task for comparing local changes with lastest deployed revision.
gitLogFormat
, for use with deploy:pending:log
.registerTask
and getShipit
from shipit-utils
// Create a temp file in case we need to know if we're watching | |
// and browserSync.active won't do the trick | |
browserSync.emitter.on('init', function() { | |
touch.sync(tmpFile); | |
gulp.start('build'); | |
}).on('service:exit', function() { | |
del.sync(tmpFile); | |
}); |