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
<link rel="manifest" href="/manifest.json"> | |
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async></script> | |
<script> | |
var OneSignal = window.OneSignal || []; | |
OneSignal.push(["init", { | |
appId: "YOUR_APP_ID", | |
autoRegister: false, | |
notifyButton: { | |
enable: true /* Set to false to hide */ | |
} |
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
{ | |
"name": "Thangman22", | |
"short_name": "Thangman22", | |
"start_url": "/", | |
"display": "standalone", | |
"gcm_sender_id": "343xxxxx" | |
} |
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
7.Polymer render should be complete (29135ms) | |
6.jQuery render should be complete (17281ms) | |
5.Riotjs render should be complete (12131ms) | |
4.Angular 1 render should be complete (7993ms) | |
3.Angular 2 render should be complete (7602ms) | |
2.React render should be complete (5602ms) | |
****1.VueJS 1 render should be complete (3895ms) | |
--------------------------------------------------- |
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
<!doctype html> | |
<html ⚡> | |
<head> | |
<meta charset="utf-8"> | |
<title>Sample document</title> | |
<link rel="canonical" href="./regular-html-version.html"> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
<style amp-custom> | |
h1 {color: red} | |
</style> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Thangman22 auth</title> | |
<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase.js"></script> | |
<script> | |
// Initialize Firebase | |
var config = { | |
apiKey: "xxxxx", |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<script> | |
function onButtonClick() { | |
let filters = []; | |
filters.push({services: ['battery_service']}); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<script> | |
function onButtonClick() { | |
let filters = []; | |
filters.push({services: ['battery_service']}); |
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
navigator.credentials.get({ | |
password: true | |
}).then(function(cred) { | |
console.log(cred) | |
if(cred){ | |
$("#status").append("<li>Login Credential Found</li>") | |
fetch('login.php', { | |
method: 'POST', | |
credentials: cred | |
}).then(function(res) { |
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
if ('mediaSession' in navigator) { | |
navigator.mediaSession.metadata = new MediaMetadata({ | |
title: 'Big buck bunny', | |
artist: 'Sacha Goedegebure', | |
album: 'Big buck bunny', | |
artwork: [ | |
{ src: 'bbb-splash.png', sizes: '512x512', type: 'image/png' }, | |
] | |
}); |
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 Vue from 'vue' | |
import ProfileImage from 'src/components/ContentCards/ProfileImage' | |
describe('ContentCards/ProfileImage.vue Should render correct format', () => { | |
it('Profile picture should convert to https', () => { | |
}) | |
it('Profile picture should replace when empty', () => { |