🙌 Thanks for trying out the MetaMask mobile BETA! We really appreciate your feedback 🤗
Using Chrome's remote debugger: https://developers.google.com/web/tools/chrome-devtools/remote-debugging/
Using Safari Developer tools: https://medium.com/@mattcroak718/debugging-your-iphone-mobile-web-app-using-safari-development-tools-71240657c487
I hereby claim:
- I am brunobar79 on github.
- I am brunobar79 (https://keybase.io/brunobar79) on keybase.
- I have a public key ASDPWn9zVcS9hX3CYquoq_MVQ5Actr0SaciU_rddf2vDCgo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
import React from 'react-native'; | |
const { | |
Dimensions | |
} = React; | |
export default class DimensionsHelper{ | |
static isIpad() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RCTLogFunction CrashlyticsReactLogFunction = ^( | |
RCTLogLevel level, | |
__unused RCTLogSource source, | |
NSString *fileName, | |
NSNumber *lineNumber, | |
NSString *message | |
) | |
{ | |
NSString *log = RCTFormatLog([NSDate date], level, fileName, lineNumber, message); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function blockEmptyLinks(){ | |
var links = document.getElementsByTagName("a"); | |
for(var i=0; i< links.length; i++){ | |
var url = links[i].getAttribute("href"); | |
if(url!== null && url===""){ | |
links[i].style.pointerEvents = "none"; | |
}; | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var columnWidthSupported = typeof(document.body.style.webkitColumnWidth || document.body.style.mozColumnWidth)!== undefined; | |
var columns = [], | |
col_count = 2; | |
if($rootScope.matchMedia.small){ | |
col_count = 4; | |
}else if($rootScope.matchMedia.smallPortrait){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function applyToClassElements(className,property,value){ | |
var elements = document.querySelectorAll(className); | |
for(var i=0;i< elements.length; i++){ | |
elements[i].property = value; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function colsWidth($num_cols,$total_width, $total_cols, $gutter_width){ | |
if(typeof $total_cols === undefined){ | |
$total_cols = 6; | |
} | |
if(typeof $gutter_width === undefined){ | |
$gutter_width = 10; | |
} | |
var col_width = ($total_width - ($gutter_width * 2 * $total_cols) ) / $total_cols; |
NewerOlder