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="import" href="../bower_components/polymer/polymer-element.html"> | |
<link rel="import" href="shared-styles.html"> | |
<dom-module id="$NAME"> | |
<template> | |
<style include="shared-styles"> | |
:host { | |
display: block; | |
} | |
</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>HTML5 Media Device Access</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
video, img { | |
max-width:100%; | |
} |
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 lang="en"> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"> | |
<title>Message Board</title> | |
<style> | |
body { | |
font: 12pt Arial, sans-serif; | |
background-color: #eee; |
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
/** | |
* Created by TbsStz on 19.07.2016. | |
*/ | |
var zxcvbn = require('zxcvbn'); | |
var lowercaseRegex = /[a-z]/g; | |
var uppercaseRegex = /[A-Z]/g; | |
var digitsRegex = /[0-9]/g; | |
var specialCharsRegex = /[@'#\.\$;%\^&\+=!"\(\)\*,-\/:<>\?§]/g; |