Skip to content

Commit 80179e2

Browse files
authored
Update new.html
1 parent 04bc279 commit 80179e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

new.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@
2323
let $$ = selector => document.querySelectorAll(selector);
2424

2525
// fetch POST example; uses make function to create payload
26+
/*
2627
fetch("https://www.twitter.com/followers.json", make({token:token})).then( (response) => response.text().then(msg => {
2728
console.log(msg); // Text message returned from the server
28-
}));
29+
}));
30+
*/
2931

3032
// Sort json by multiple properties
3133
const sortFields = (fields, invert) => (a, b) => fields.map(o => { let dir = 1; if (o[0] === '-') { dir = -1; o=o.substring(1); } return a[o] > b[o] ? dir : a[o] < b[o] ? -(dir) : 0;}).reduce((p, n) => p ? p : n, 0);

0 commit comments

Comments
 (0)