I hereby claim:
- I am paularmstrong on github.
- I am paularmstrong (https://keybase.io/paularmstrong) on keybase.
- I have a public key ASBFEf8k-OMRv7mD5wCCWTGMs7hwhdni7EO1LxPII3dnPwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
const state = { | |
timelines: { | |
home: { | |
tweets: [ | |
'123', | |
'456', | |
'789', | |
'012' | |
] | |
} |
.Spotlight* | |
.Trash* | |
.AppleDouble* | |
Thumbs.db | |
.DocumentRevisions* | |
.AppleDB* | |
.AppleDesktop* | |
.apdisk* | |
.TemporaryItems* |
# Completely remove the current branch from a git repo | |
function rm-branch() { | |
branch="$(git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')" | |
git checkout master | |
git branch -D $branch | |
} |
body { | |
background: #000 !important; | |
} | |
div#nbc-header { | |
display: none !important;; | |
} | |
div#player-wrapper + div, | |
div#player-wrapper + div + div { |
. |
Non-HTML:
$ ./bin/swig.js render ./test1 -j ./data.json
onclick="pictureInsert(1, foo)"
HTML:
$ ./bin/swig.js render ./test2 -j ./data.json
, . . | |
. _.-=~~~--._ | |
.+'#### ***#'+. . . | |
. .'/#######/ ; # ##'. | |
. / |###### ######\ . | |
.' \### \\ # ^ ###'. | |
(; |## . ___ ##) . | |
'. ## #####.#.' | |
. \ : #### #### / . . | |
'. ## ## .' |
.row { | |
width: 100%; | |
padding: 0; | |
clear: both; | |
height: 1%; | |
} | |
.row:after { | |
display: block; | |
height: 0; | |
clear: both; |
diff --git a/tests/variables.test.js b/tests/variables.test.js | |
index fc7cc70..162dc11 100644 | |
--- a/tests/variables.test.js | |
+++ b/tests/variables.test.js | |
@@ -61,6 +61,9 @@ var cases = { | |
{ c: '{{ food.a }}', e: 'tacos' }, | |
{ c: '{{ food["a"] }}', e: 'tacos' }, | |
{ c: '{{ g[0][h.g.i]["c"].b[i] }}', e: 'hi!' }, | |
+ ], | |
+ 'getters work just fine': [ |