**/index.ts
to export most everything for the folder./src/window
folder. Must call methods directly.window.***
calls are done in ./src/window
folder only../src/jquery
instead of "jquery"
"jquery"
directly as the browser is not available to already have jQuery loaded../src/initialize
folder.setFoo(foo_)
method that updates a locally defined foo
variable../package.json
scriptsbabel
is configurablesubscribe(callback)
callback function of false
. B/c if the value was not provided, it was not truthy, therefore equivalent to false
.window.strftime
evt
from jQuery.on callbacks where evt
was not used.+x
to Number(x)
setValue()
to return either false | void
, not false | true
.false
is returned, or nothing is returned. Replaced return true;
with return;
receiveMessage(data)
sometimes have a label
?Use --strictNullChecks in tsconfig.json
Make _*()
methods private *()
FileProcessor
to a true class definition./utils
into many files: any
types@typescript-eslint/explicit-module-boundary-types
an error// eslint-disable-next-line no-prototype-builtins
linesparcel
from ./package.json
and only use esbuild
./patch/yarn_pnp.patch
@yarnpkg/esbuild-plugin-pnp@0.0.1
gives full file paths, not relative file paths@testing-library/jest-dom/extend-expect
can not be found.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.