I hereby claim:
- I am ctavan on github.
- I am ctavan (https://keybase.io/ctavan) on keybase.
- I have a public key ASABxq9Uz6fewrw8b90TiKtxRootHXGuqHkvFd2QTNao2go
To claim this, I am signing this object:
import PropTypes from 'prop-types'; | |
import React from 'react'; | |
import Input, { InputLabel } from 'material-ui/Input'; | |
import FormControl from 'material-ui/Form/FormControl'; | |
import FormHelperText from 'material-ui/Form/FormHelperText'; | |
import MenuItem from 'material-ui/Menu/MenuItem'; | |
import Select from 'material-ui/Select'; | |
const SelectFieldBase = (props) => { |
const unsorted1 = [1, 0, 0, 1]; | |
console.log(process.version, [...unsorted1], '->', unsorted1.sort(( value ) => value)); | |
const unsorted2 = [1, -1, -1, 1]; | |
console.log(process.version, [...unsorted2], '->', unsorted2.sort(( value ) => value)); |
node_modules/ | |
yarn.lock |
commit ********b2a5c668b54348d0f3f891ddc58ef9f8 | |
Author: Christoph Tavan <[email protected]> | |
Date: Mon Mar 11 16:53:10 2019 +0100 | |
Fix sorting of error codes | |
Apparently with node 11 there's a subtle change in how array sorting | |
compare function return values are interpreted. According to the spec | |
the return value of 0 will not change the sorting. A negative return | |
value will sort the element below and must be used in this case. |
I hereby claim:
To claim this, I am signing this object:
ID-7-shoping-cart-prototype
origin/master
before merging into master, we want to get a clean master history which looks like this: diff -ur dist-node-10/esm-browser/md5.js dist/esm-browser/md5.js | |
--- dist-node-10/esm-browser/md5.js 2021-12-02 13:15:02.000000000 +0100 | |
+++ dist/esm-browser/md5.js 2021-12-02 22:48:16.000000000 +0100 | |
@@ -20,11 +20,11 @@ | |
*/ | |
function md5(bytes) { | |
if (typeof bytes === 'string') { | |
- var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape | |
+ const msg = unescape(encodeURIComponent(bytes)); // UTF8 escape | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Domains</key> | |
<dict> | |
<key>Applications</key> | |
<true/> | |
<key>Printing</key> | |
<true/> |