1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

format stuff

This commit is contained in:
Tim Daubenschütz 2015-06-08 11:50:40 +02:00
parent 793e1a78ca
commit e2ab0c1a5c
3 changed files with 6 additions and 8 deletions

View File

@ -10,8 +10,8 @@ The code is JavaScript ECMA 6.
Getting started
===============
Install some nice extensions for Chrom(e|ium):
- [Allow-Control-Allow-Origin](https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi):
we need this to open connection to external hosts ([staging.ascribe.io](http://staging.ascribe.io/) in our case)
- [Allow-Control-Allow-Origin](https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi): we need this to open connection to external hosts ([staging.ascribe.io](http://staging.ascribe.io/) in our case)
- [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi)
```bash
@ -53,6 +53,7 @@ Troubleshooting
===============
Q: OMG nothing works
A: try `npm install`. Someone may have updated some dependencies

View File

@ -1,6 +1,5 @@
jest.dontMock('../general_utils.js');
let GeneralUtils = require('../general_utils')
let sanitize = GeneralUtils.sanitize;

View File

@ -1,15 +1,13 @@
'use strict';
// TODO: Create Unittests that test all functions
/**
* Takes an object and deletes all keys that are
* Takes an object and deletes all keys that are
*
* - empty strings; or
* - null; or
* - undefined
*
*
*
*
* @param {object} obj regular javascript object
* @return {object} regular javascript object without null values or empty strings
*/