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 isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !('MSStream' in window); | |
var isAndroid = /android/i.test(navigator.userAgent) && !isTrident; | |
var isOtherFocusing = false; | |
/** | |
* @param {number} offsetY | |
*/ | |
function scrollTo(offsetY) { | |
Promise.resolve(null).then(function () { |
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
$.ajax({ | |
type: 'POST', | |
url: '/ushm/edu/contentsViewAviProcessCheckSub', | |
data: { | |
scheduleMemberProgressNo: window.location.href.match(/scheduleMemberProgressNo=(.*)/)[1], | |
currentTime: 3000, | |
isEnd: true, | |
isMobile: true | |
} | |
}); |
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
import * as qs from 'qs'; | |
import * as React from 'react'; | |
import { pick, merge } from 'lodash-es'; | |
import { RouteComponentProps, withRouter } from 'react-router'; | |
import { Subtract } from 'app/types'; | |
interface QueryString { | |
[key: string]: string; |
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
import { StyleSheet, ViewStyle, TextStyle } from 'react-native' | |
interface Styles { | |
wrapper: ViewStyle | |
text: TextStyle | |
} | |
const styles = StyleSheet.create<Styles>({ | |
wrapper: { | |
width: 68, |