I hereby claim:
- I am mattrayner on github.
- I am mattrayner (https://keybase.io/mattrayner) on keybase.
- I have a public key ASAarJOTnGJ8R2WqZ_-G5wAJBA5GJLeTbp_S8Gb4TPHLEQo
To claim this, I am signing this object:
/* | |
Below are updated functions which fix the issues noted in issues.js below. | |
I have tested these on my local machine and was able to make a booking successfully with the updated functions. | |
*/ | |
function addQuantity(){ | |
var quantity = parseInt($('#productSelectQuantity').val()); | |
quantity++; | |
if(quantity < 0) // Handle quntity lower than 0 | |
quantity = 1 |
I hereby claim:
To claim this, I am signing this object:
Leverage docker-compose to boot up the service and set a DYNAMODB_URL
as an Env var. As described in the AWS Ruby SDK we can pass in a custom endpoint
to the client.
client = Aws::DynamoDB::Client.new(endpoint: ENV['DYNAMODB_URL'])
<{data.kind} class="list--{data.display}"> | |
{#items} | |
<li> | |
{>"components__{name}" name=name data=data/} | |
</li> | |
{/items} | |
</ol> |
<div class="card"> | |
<div class="card__details"> | |
{#data.components} | |
{>"components__{name}" name=name data=data/} | |
{/data.components} | |
</div> | |
</div> |
<p> | |
{data.content|s} | |
</p> |
<h{data.weight}> | |
{data.content|s} | |
</h{data.weight}> |
<?php | |
class ReportAdminExtension extends Extension { | |
public function updateEditForm($form) { | |
$gridField = $form->Fields()->dataFieldByName('Reports'); | |
if ($gridField instanceof GridField) { | |
$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns'); | |
$columns->setFieldFormatting(array( |
Within Classes>AppDeligate.m
scroll to the bottom and remove the references to Portrait and UpsideDown. It sould look like this when finished:
- (NSUInteger)application:(UIApplication*)application supportedInterfaceOrientationsForWindow:(UIWindow*)window
{
// iPhone doesn't support upside down by default, while the iPad does. Override to allow all orientations always, and let the root view controller decide what's allowed (the supported orientations mask gets intersected).
NSUInteger supportedInterfaceOrientations = (1 << UIInterfaceOrientationLandscapeLeft) | (1 << UIInterfaceOrientationLandscapeRight);
return supportedInterfaceOrientations;
}