-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from adamjgrant/v3.0.0
V3.0.0
- Loading branch information
Showing
86 changed files
with
988 additions
and
1,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"buildTargets":["watch"],"launchTargets":[],"customConfigurationProvider":{"workspaceBrowse":{"browsePath":[],"compilerArgs":[]},"fileIndex":[]}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
make --dry-run --always-make --keep-going --print-directory | ||
make: Entering directory `/Users/adamgrant/repos/Mozart' | ||
python3 -m http.server 8000 | ||
make: Leaving directory `/Users/adamgrant/repos/Mozart' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"makefile.extensionOutputFolder": "./.vscode" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,244 @@ | ||
make all --print-data-base --no-builtin-variables --no-builtin-rules --question | ||
# GNU Make 3.81 | ||
# Copyright (C) 2006 Free Software Foundation, Inc. | ||
# This is free software; see the source for copying conditions. | ||
# There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A | ||
# PARTICULAR PURPOSE. | ||
|
||
# This program built for i386-apple-darwin11.3.0 | ||
|
||
# Make data base, printed on Tue Aug 9 19:47:23 2022 | ||
|
||
# Variables | ||
|
||
# automatic | ||
<D = $(patsubst %/,%,$(dir $<)) | ||
# automatic | ||
?F = $(notdir $?) | ||
# environment | ||
NVM_INC = /Users/adamgrant/.nvm/versions/node/v16.16.0/include/node | ||
# automatic | ||
?D = $(patsubst %/,%,$(dir $?)) | ||
# environment | ||
twitter_token_secret = rsdIhAltS1UBTykHGVrfDEVKuvf3KBZxNRm3ooM5cD9zc | ||
# automatic | ||
@F = $(notdir $@) | ||
# makefile | ||
CURDIR := /Users/adamgrant/repos/Mozart | ||
# makefile | ||
SHELL = /bin/sh | ||
# environment | ||
VSCODE_NLS_CONFIG = {"locale":"en-us","availableLanguages":{},"_languagePackSupport":true} | ||
# environment | ||
_ = /usr/bin/make | ||
# makefile (from `Makefile', line 1) | ||
MAKEFILE_LIST := Makefile | ||
# automatic | ||
@D = $(patsubst %/,%,$(dir $@)) | ||
# environment | ||
__CFBundleIdentifier = com.microsoft.VSCode | ||
# environment | ||
INFOPATH = /opt/homebrew/share/info: | ||
# environment | ||
VSCODE_CWD = / | ||
# environment | ||
twitter_consumer_secret = UBb8roLwVnmsgIVLwyM4pm4EpAe6JSrUojNWPqs | ||
# environment | ||
PATH = /Users/adamgrant/.nvm/versions/node/v16.16.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Postgres.app/Contents/Versions/latest/bin | ||
# environment | ||
twitter_token_key = 619382837-pNpfWXmw2vN2IrNT9HWUWAbVYY32bj6WQ8zxoHJq | ||
# environment | ||
LSCOLORS = Gxfxcxdxbxegedabagacad | ||
# environment | ||
NVM_BIN = /Users/adamgrant/.nvm/versions/node/v16.16.0/bin | ||
# environment | ||
ELECTRON_RUN_AS_NODE = 1 | ||
# default | ||
.FEATURES := target-specific order-only second-expansion else-if archives jobserver check-symlink | ||
# environment | ||
SSH_AUTH_SOCK = /private/tmp/com.apple.launchd.cXAhIECPL7/Listeners | ||
# automatic | ||
%F = $(notdir $%) | ||
# environment | ||
airtable_buffer_base = app2X2gnPXhFKDs1t | ||
# environment | ||
OPENAI_API_KEY = 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 | ||
# environment | ||
PWD = /Users/adamgrant/repos/Mozart | ||
# environment | ||
twitter_consumer_key = LIOPNzQQ1WcRJfguhFEszA | ||
# environment | ||
HOMEBREW_CELLAR = /opt/homebrew/Cellar | ||
# environment | ||
ORIGINAL_XDG_CURRENT_DESKTOP = undefined | ||
# environment | ||
MANPATH = /Users/adamgrant/.nvm/versions/node/v16.16.0/share/man:/opt/homebrew/share/man:: | ||
# environment | ||
VSCODE_AMD_ENTRYPOINT = vs/workbench/api/node/extensionHostProcess | ||
# environment | ||
HOME = /Users/adamgrant | ||
# default | ||
MAKEFILEPATH = $(shell /usr/bin/xcode-select -print-path 2>/dev/null || echo /Developer)/Makefiles | ||
# environment | ||
VSCODE_CODE_CACHE_PATH = /Users/adamgrant/Library/Application Support/Code/CachedData/da76f93349a72022ca4670c1b84860304616aaa2 | ||
# environment | ||
LOGNAME = adamgrant | ||
# environment | ||
APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL = true | ||
# environment | ||
NVM_CD_FLAGS = -q | ||
# environment | ||
ZSH = /Users/adamgrant/.oh-my-zsh | ||
# environment | ||
VSCODE_HANDLES_UNCAUGHT_ERRORS = true | ||
# automatic | ||
^D = $(patsubst %/,%,$(dir $^)) | ||
# environment | ||
XPC_FLAGS = 0x0 | ||
# default | ||
MAKE = $(MAKE_COMMAND) | ||
# default | ||
MAKECMDGOALS := all | ||
# environment | ||
SHLVL = 1 | ||
# default | ||
MAKE_VERSION := 3.81 | ||
# environment | ||
USER = adamgrant | ||
# makefile | ||
.DEFAULT_GOAL := watch | ||
# environment | ||
LESS = -R | ||
# automatic | ||
%D = $(patsubst %/,%,$(dir $%)) | ||
# default | ||
MAKE_COMMAND := /Library/Developer/CommandLineTools/usr/bin/make | ||
# default | ||
.VARIABLES := | ||
# environment | ||
TMPDIR = /var/folders/w9/r7_p3fh14mdfj9g8wj685tsm0000gn/T/ | ||
# automatic | ||
*F = $(notdir $*) | ||
# environment | ||
VSCODE_IPC_HOOK = /Users/adamgrant/Library/Application Support/Code/1.70.0-main.sock | ||
# environment | ||
MallocNanoZone = 0 | ||
# makefile | ||
MAKEFLAGS = Rrqp | ||
# environment | ||
MFLAGS = -Rrqp | ||
# automatic | ||
*D = $(patsubst %/,%,$(dir $*)) | ||
# environment | ||
NVM_DIR = /Users/adamgrant/.nvm | ||
# environment | ||
XPC_SERVICE_NAME = application.com.microsoft.VSCode.23368604.23368612 | ||
# environment | ||
HOMEBREW_PREFIX = /opt/homebrew | ||
# automatic | ||
+D = $(patsubst %/,%,$(dir $+)) | ||
# automatic | ||
+F = $(notdir $+) | ||
# environment | ||
HOMEBREW_REPOSITORY = /opt/homebrew | ||
# environment | ||
__CF_USER_TEXT_ENCODING = 0x1F5:0x0:0x0 | ||
# environment | ||
COMMAND_MODE = unix2003 | ||
# default | ||
MAKEFILES := | ||
# automatic | ||
<F = $(notdir $<) | ||
# environment | ||
PAGER = less | ||
# environment | ||
LC_ALL = C | ||
# automatic | ||
^F = $(notdir $^) | ||
# default | ||
SUFFIXES := | ||
# environment | ||
airtable_api_key = key8zh2I86egLc0do | ||
# default | ||
.INCLUDE_DIRS = /usr/local/include | ||
# environment | ||
MAKELEVEL := 0 | ||
# environment | ||
LANG = C | ||
# environment | ||
VSCODE_PID = 5877 | ||
# variable set hash-table stats: | ||
# Load=78/1024=8%, Rehash=0, Collisions=2/102=2% | ||
|
||
# Pattern-specific Variable Values | ||
|
||
# No pattern-specific variable values. | ||
|
||
# Directories | ||
|
||
# . (device 16777234, inode 23750998): 18 files, no impossibilities. | ||
|
||
# 18 files, no impossibilities in 1 directories. | ||
|
||
# Implicit Rules | ||
|
||
# No implicit rules. | ||
|
||
# Files | ||
|
||
# Not a target: | ||
all: | ||
# Command-line target. | ||
# Implicit rule search has been done. | ||
# File does not exist. | ||
# File has not been updated. | ||
# variable set hash-table stats: | ||
# Load=0/32=0%, Rehash=0, Collisions=0/0=0% | ||
|
||
# Not a target: | ||
.SUFFIXES: | ||
# Implicit rule search has not been done. | ||
# Modification time never checked. | ||
# File has not been updated. | ||
|
||
# Not a target: | ||
Makefile: | ||
# Implicit rule search has been done. | ||
# Last modified 2022-08-09 10:46:41 | ||
# File has been updated. | ||
# Successfully updated. | ||
# variable set hash-table stats: | ||
# Load=0/32=0%, Rehash=0, Collisions=0/0=0% | ||
|
||
watch: | ||
# Implicit rule search has not been done. | ||
# Modification time never checked. | ||
# File has not been updated. | ||
# commands to execute (from `Makefile', line 2): | ||
python3 -m http.server 8000 | ||
|
||
|
||
# Not a target: | ||
.DEFAULT: | ||
# Implicit rule search has not been done. | ||
# Modification time never checked. | ||
# File has not been updated. | ||
|
||
# files hash-table stats: | ||
# Load=5/1024=0%, Rehash=0, Collisions=0/17=0% | ||
# VPATH Search Paths | ||
|
||
# No `vpath' search paths. | ||
|
||
# No general (`VPATH' variable) search path. | ||
|
||
# # of strings in strcache: 1 | ||
# # of strcache buffers: 1 | ||
# strcache size: total = 4096 / max = 4096 / min = 4096 / avg = 4096 | ||
# strcache free: total = 4087 / max = 4087 / min = 4087 / avg = 4087 | ||
|
||
# Finished Make data base on Tue Aug 9 19:47:23 2022 | ||
|
||
|
||
make: *** No rule to make target `all'. Stop. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
watch: | ||
python -m SimpleHTTPServer 8000 | ||
python3 -m http.server 8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div data-component="form"></div> | ||
<main> | ||
<div data-component="index"></div> | ||
<div data-component="contact"></div> | ||
</main> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* components/form/form.css */ | ||
[data-component="form"] { | ||
background: white; | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// components/form/form.js | ||
import Component from "./mozart.js"; | ||
let form = new Component("form"); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import Component from "./mozart.js"; | ||
import index from "./components/index/index.js"; | ||
import contact from "./components/contact/contact.js"; | ||
|
||
let form = new Component("form"); | ||
|
||
form.assign({ | ||
submit() { | ||
const [name, email] = this.fields; | ||
// Defer remaining implementation to the components | ||
// "contact" and "index" | ||
const contactIndex = index.createContact({ name, email }); | ||
contact.showContactAtIndex({ index: contactIndex }); | ||
this.clear(); | ||
}, | ||
|
||
get fields() { | ||
return this.q("input").map(input => input.value); | ||
}, | ||
|
||
clear() { | ||
this.q("input").forEach(input => input.value = ""); | ||
} | ||
}) | ||
|
||
form.q(".submit").addEventListener("click", form.submit); |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.