Skip to content

Instantly share code, notes, and snippets.

View tmartty's full-sized avatar

Tomas Martty tmartty

View GitHub Profile
export const createNewOrder = context => {
return new Promise((resolve, reject) => {
console.log('create new order action called');
var db = firebase.firestore();
console.log(context);
var order = {
...context.state.currentOrder,
chefInfo: {
uid: context.rootState.chefs.selectedChef.uid,
name: context.rootState.chefs.selectedChef.name,
@tmartty
tmartty / scans.lua
Created December 20, 2017 01:03
CS2D Lua Scan Training Script
--------------------------------------------------
-- Based on Laserpointer Script by Plookerbooy --
-- & --
-- Hitzone Script by Unreal Software --
-- --
-- Modified by United --
--------------------------------------------------
function init(a,b)
local array = {}