Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use
'key' in dict
rather than dict.get('key') for JS compatibility
This fails in JS because `properties` is a JS object, not a dict, and JS objects don't have 'get'. We get around this by using `in`. It's not as elegant but it's foolproof
- Loading branch information