Commit graph

158 commits

Author SHA1 Message Date
Eddie Antonio Santos
702939a8a8
Upgrade to karma-browserstack-launcher@^1.4.0. 2019-01-08 15:30:20 -07:00
Joshua A. Horton
ea8b1de557 Minor npm update, adds promise polyfill for IE. 2018-12-03 08:58:11 +07:00
Eddie Antonio Santos
c751646b93
Rename _resolveInitialized to _declareLMLayerReady(). 2018-11-30 13:57:54 -07:00
Eddie Antonio Santos
f1382fe58c
Remove undeveloped "model" interface. 2018-11-30 13:44:58 -07:00
Eddie Antonio Santos
36e18e4019
Refactor: extract interfaces common to worker and top-level. 2018-11-30 13:43:29 -07:00
Eddie Antonio Santos
140efa7dc7
Require the capabilities object in the initialize message. 2018-11-30 13:35:40 -07:00
Eddie Antonio Santos
fe78283b92
Test integration of initialize() in LMLayer and Worker. 2018-11-30 13:07:50 -07:00
Eddie Antonio Santos
75f0fd41dc
Test that the configuration comes back. 2018-11-30 12:59:15 -07:00
Eddie Antonio Santos
31368751e9
Add callAsynchronous() helper for tests. 2018-11-30 12:49:52 -07:00
Eddie Antonio Santos
d6f9398ad2
Implement initialize callback/response. 2018-11-30 12:35:41 -07:00
Eddie Antonio Santos
ca510acd61
Revise tests to take fake postMessage() 2018-11-30 12:35:22 -07:00
Eddie Antonio Santos
d262c37025
Test sending the initialize message. 2018-11-30 12:10:37 -07:00
Eddie Antonio Santos
6ae59882bc
Refactor: extract createFakeWorker() in LMLayer tests. 2018-11-30 10:55:57 -07:00
Eddie Antonio Santos
ac4167d0be
Define initialize's interface. 2018-11-30 10:48:22 -07:00
Eddie Antonio Santos
c13ebe29ce
Test basic usage of LMLayer#initialize() 2018-11-30 09:31:03 -07:00
Eddie Antonio Santos
81b7510d8b
Implement requiring a Worker instead of a URI. 2018-11-29 20:07:53 -07:00
Eddie Antonio Santos
55ba9088be
Test that LMLayer consturctor takes in a worker instance. 2018-11-29 20:03:57 -07:00
Joshua A. Horton
cf13caa98e Merge branch 'lmlayer-init' into lmlayer-build-reorg 2018-11-29 23:35:37 +07:00
Joshua A. Horton
07bac875f4 A bit of cleaning for test.sh. 2018-11-29 10:51:51 +07:00
Joshua A. Horton
b60deb46b1 Establishes build-agent friendly runs and reporting for LMLayer tests. 2018-11-29 10:26:18 +07:00
Joshua A. Horton
18a19734db Gets headless tests working post-reorg, fixes Windows test bug. 2018-11-29 10:12:31 +07:00
Joshua A. Horton
32b834521e Reorganized the build structure into something simpler to -clean. 2018-11-29 09:11:26 +07:00
Eddie Antonio Santos
96bc08342c
Give more consistent, descriptive names to test files. 2018-11-28 15:27:14 -07:00
Eddie Antonio Santos
a0c07dfcb9
Do not use dirname to resolve script; assume build.sh is always run in one directory. 2018-11-28 15:23:20 -07:00
Eddie Antonio Santos
849089c9c6
Slightly improve the README text. 2018-11-28 14:54:03 -07:00
Eddie Antonio Santos
8f28d07c37
Add a README describing how to build the code and vaguely what's going on here. 2018-11-28 14:46:04 -07:00
Eddie Antonio Santos
fa6c2f8e8f
Move worker communications docs to the docs/ directory. 2018-11-28 14:26:04 -07:00
Eddie Antonio Santos
8b7c606dd2
Remove TODOs from README. 2018-11-28 14:24:25 -07:00
Eddie Antonio Santos
ef452b8c58
Source the utilities in resources/ in the build.sh script. 2018-11-28 14:23:14 -07:00
Eddie Antonio Santos
61d2ea5381
Remove test model for abandoned model specification. 2018-11-28 14:22:36 -07:00
Eddie Antonio Santos
8404ef3c13
Comment ALL THE THINGS. 2018-11-28 14:20:09 -07:00
Eddie Antonio Santos
baea53826d
Clean top-level generated JS. 2018-11-27 18:55:38 -07:00
Eddie Antonio Santos
ef9f50563b
Merge pull request #1353 from keymanapp/lmlayer-top-level
[LMLayer] Begin implementing top-level code
2018-11-27 18:42:52 -07:00
Eddie Antonio Santos
14812ba5ff
Let main script be index.js (implitly). 2018-11-27 15:24:37 -07:00
Eddie Antonio Santos
7bac80943d
Compile worker code and interface code into one .js file. 2018-11-27 14:53:53 -07:00
Eddie Antonio Santos
bc73da7e0e
Link stage 1 and stage 2 code. 2018-11-27 14:45:38 -07:00
Eddie Antonio Santos
ac12cb6f28
Add example to docs for LMLayer.asBlobURI(). 2018-11-27 14:32:37 -07:00
Eddie Antonio Santos
6cc20cfd83
Make LMLayer.asBlobURI() test a bit more stringent. 2018-11-27 14:28:31 -07:00
Eddie Antonio Santos
16fad9e1af
Refactor test to use LMLayer.asBlobURI(). 2018-11-27 14:22:59 -07:00
Eddie Antonio Santos
022f34c030
Implement LMLayer.asBlobURI() utility function. 2018-11-27 14:20:33 -07:00
Eddie Antonio Santos
01f09c5cf8
Test LMLayer.asBlobURI(). 2018-11-27 14:13:13 -07:00
Eddie Antonio Santos
540d37fdd9
Refactor: use LMLayer.unwrap() instead of custom code in tests. 2018-11-27 14:07:48 -07:00
Eddie Antonio Santos
897ed01829
Implement function unwrapping code. 2018-11-27 14:05:21 -07:00
Eddie Antonio Santos
d5da85fde4
Test LMLayer.unwrap() utility function. 2018-11-27 14:01:11 -07:00
Eddie Antonio Santos
6e540f6b6b
Tests Blobs in the browser only. 2018-11-27 13:53:29 -07:00
Eddie Antonio Santos
02521b1254
Tests that a blob is generated. 2018-11-27 11:20:39 -07:00
Eddie Antonio Santos
52566f48f8
Implement constructor with WorkerFactory. 2018-11-27 11:16:03 -07:00
Eddie Antonio Santos
b2a16abd1a
Basic compilation. 2018-11-27 11:10:46 -07:00
Eddie Antonio Santos
91e050f84d
Begin testing main LMLayer code. 2018-11-27 11:07:10 -07:00
Eddie Antonio Santos
c591eedeeb
Remove suggestion, prediction, transform, and message interfaces for now. 2018-11-27 10:57:36 -07:00