I hereby claim:
- I am gmaclennan on github.
- I am gmaclennan (https://keybase.io/gmaclennan) on keybase.
- I have a public key ASBkNcWJZSORRsuupjzXIeg2sMS2fE_Kou6h5fEc5_UAGwo
To claim this, I am signing this object:
| // Will update the value of the cell to the hex value of the color of the cell | |
| // It is triggered by typing a "#" into the cell | |
| // Unfortunately changing the color of a cell does not trigger an edit event in sheets | |
| // Will not work in the new version of Google Sheets | |
| function onEdit(e) { | |
| var cell, value; | |
| var values = e.range.getValues(); | |
| for (var i=0; i < values.length; i++) { |
| const React = require('react') | |
| const dragDrop = require('drag-drop') | |
| const RaisedButton = require('material-ui/RaisedButton').default | |
| const fileExtension = require('file-extension') | |
| const blobToBuffer = require('blob-to-buffer') | |
| const { connect } = require('react-redux') | |
| const {replaceFeatures} = require('../action_creators') | |
| const styles = { |
| var resolve = require('resolve').sync | |
| var nodePath = require('path') | |
| var fs = require('fs') | |
| var rework = require('rework') | |
| var reworkImport = require('rework-import') | |
| module.exports = function ({types: t}) { | |
| return { | |
| visitor: { | |
| CallExpression: function (path, state) { |
I hereby claim:
To claim this, I am signing this object:
| diff --git a/index.js b/index.js | |
| index 79f78e4..e9897c0 100644 | |
| --- a/index.js | |
| +++ b/index.js | |
| @@ -101,7 +101,8 @@ KV.prototype.del = function (key, opts, cb) { | |
| } | |
| if (!opts) opts = {} | |
| if (!cb) cb = noop | |
| - self._put(key, { d: key }, opts, function (err, node) { | |
| + var value = xtend(opts.fields || {}, { k: key, d: true, v: opts.value }) |
| { | |
| "value": { | |
| "refs": [ | |
| "A", | |
| "C", | |
| "A", | |
| "D" | |
| ], | |
| "d": "F" | |
| }, |
| /--- A1 <---\ | |
| A0 <---- ---- A3 (deleted) | |
| \--- A2 <---/ |