From e7cb1dad139b714667d31c153ee93ff455ca577a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sat, 9 Apr 2016 14:29:39 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b8732753..42e04a80 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Agent is the configuration application of the [Ultimate Hacking Keyboard](https://ultimatehackingkeyboard.com/). -Agent is in a preliminary state. You can click around, and most interactions will loosely work, but the application is not production ready yet. We're experimenting with the UI, and UX until the imminent Angular 2 port. +Agent is in a preliminary state. You can click around, and most interactions will loosely work, but the application is not production ready yet. Agent is being ported to Angular 2 after which its features will actually fully work as expected. [Give it a whirl!](http://ultimatehackingkeyboard.github.io/agent/) From dbf322d67912475e40bb2aae609c4022a8504366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sat, 9 Apr 2016 14:33:17 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 42e04a80..6f6d784b 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,7 @@ npm install ``` In the repository you can find a `gulpfile.js` for running [browsersync](https://www.browsersync.io/), which speeds up the development process. You can fire it up with `gulp serve`. + +## Contribute + +Contributions are most welcome! Please always try to be as consistent as possible. Always run `npm run lint` and resolve lint warnings before every commit. From e18a12908cb9cfeeaa55eec60caab19afff8951e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sat, 9 Apr 2016 14:41:28 +0200 Subject: [PATCH 3/3] Update README.md --- config-serializer/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config-serializer/README.md b/config-serializer/README.md index 924f62ff..b438b9f8 100644 --- a/config-serializer/README.md +++ b/config-serializer/README.md @@ -71,3 +71,13 @@ KeyActions.toJsObject: SwitchKeymapAction.toJsObject: => {"keyActionType":"switchKeymap","keymapId":1} ``` +## Testing the serializer + +[test-serializer.ts](test-serializer.ts) is designed to test the serializer by taking [uhk-config.json](uhk-config.json), and transforming it to TypeScript representation, then to binary representation, then finally back to JavaScript representation. This should exercise every major code path. + +If the testing is successful the following should be displayed: + +``` +JSON configurations are identical. +Binary configurations are identical. +```