Using expo react-native and realm-web for iOS etc
ReferenceError: Can't find variable: TextDecoder
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 silly loadCurrentTree Starting | |
5 silly install loadCurrentTree | |
6 silly install readLocalPackageData | |
7 silly install normalizeTree | |
8 silly loadCurrentTree Finishing | |
9 silly loadIdealTree Starting |
2001 silly mapToRegistry uri https://registry.npmjs.org/underscore.string | |
2002 verbose addRemoteTarball https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz not in flight; adding | |
2003 verbose addRemoteTarball [ 'https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz', | |
2003 verbose addRemoteTarball '71c08bf6b428b1133f37e78fa3a21c82f7329b0d' ] | |
2004 info retry fetch attempt 1 at 11:46:24 PM | |
2005 info attempt registry request try #1 at 11:46:24 PM | |
2006 http fetch GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz | |
2007 silly cache afterAdd [email protected] | |
2008 verbose afterAdd /Users/Ash/.npm/lodash/2.4.2/package/package.json not in flight; writing | |
2009 verbose afterAdd /Users/Ash/.npm/lodash/2.4.2/package/package.json written |
<!DOCTYPE html> | |
<html ng-app="demo"> | |
<head> | |
<script data-require="angular.js@*" data-semver="1.4.0-beta.2" src="https://code.angularjs.org/1.4.0-beta.2/angular.js"></script> | |
<link rel="stylesheet" href="style.css" /> | |
<script src="script.js"></script> | |
</head> | |
<body> |
[].forEach.call(document.querySelectorAll('*'), function($element) { | |
var style = window.getComputedStyle($element); | |
console.log(style.width == "100%" || (style.display == "block" && style.width == "auto")); | |
}); |
/* | |
Scroll to the bottom of the lazy loading list and then put this in your console | |
*/ | |
[].forEach.call( | |
document.querySelectorAll('.multiColumnCheckable.checkableListItem'), | |
function(friend) { | |
if (friend.className.indexOf('disabledCheckable')<0) { // check to make sure that they're not already invited | |
friend.click(); | |
} | |
} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="style.css"> | |
<script src="script.js"></script> | |
</head> | |
<body> |
(function(){ | |
var log = console.log; | |
console.log = function(str) { | |
var css = 'background: linear-gradient(to right, red, yellow, lime, aqua, blue, fuchsia, red); color: white; font-weight: bold;'; | |
var args = Array.prototype.slice.call(arguments); | |
args[0] = '%c' + args[0]; | |
args.splice(1,0,css); | |
var speech = new SpeechSynthesisUtterance(); |