Skip to content

Commit

Permalink
test funky
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Apr 19, 2021
1 parent 6caeb66 commit 5fbb2aa
Show file tree
Hide file tree
Showing 7 changed files with 710 additions and 535 deletions.
10 changes: 6 additions & 4 deletions dist/gex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/gex.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions gex.ts
Expand Up @@ -7,11 +7,13 @@ class Gexer {
constructor(gexspec: string | string[]) {
this.gexmap = {}

let gexstrs = Array.isArray(gexspec) ? gexspec : [gexspec]
if (null != gexspec) {
let gexstrs = Array.isArray(gexspec) ? gexspec : [gexspec]

gexstrs.forEach((str) => {
this.gexmap[str] = this.re(this.clean(str))
})
gexstrs.forEach((str) => {
this.gexmap[str] = this.re(this.clean(str))
})
}
}

dodgy(obj: any) {
Expand Down

0 comments on commit 5fbb2aa

Please sign in to comment.