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
/* global mongoose, Quote, VSError */ | |
/** | |
* Quote.js | |
*/ | |
module.exports = { | |
attributes: { | |
active: { |
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
/* | |
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message | |
* Digest Algorithm, as defined in RFC 1321. | |
* Version 2.2 Copyright (C) Paul Johnston 1999 - 2009 | |
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet | |
* Distributed under the BSD License | |
* See http://pajhome.org.uk/crypt/md5 for more info. | |
*/ | |
/* |
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
<div class="todo-list"></div> | |
<script> | |
async function data(){ | |
const src = 'http://my-data.com/data.json'; | |
const response = await fetch(src); | |
return response.json(); | |
} | |
class TodoItem{ | |
constructor({title, description, completed}) { |
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
[type=range]{-webkit-appearance:none;background:transparent;margin:15px 0;width:100%}[type=range]::-moz-focus-outer{border:0}[type=range]:focus{outline:0}[type=range]:focus::-webkit-slider-runnable-track{background:-webkit-gradient(linear,right top,left top,from(#ef3d3a),to(#40b6fa));background:linear-gradient(270deg,#ef3d3a,#40b6fa)}[type=range]:focus::-ms-fill-lower,[type=range]:focus::-ms-fill-upper{background:linear-gradient(270deg,#ef3d3a,#40b6fa)}[type=range]::-webkit-slider-runnable-track{cursor:default;height:16px;-webkit-transition:all .2s ease;transition:all .2s ease;width:100%;-webkit-box-shadow:0 0 0 rgba(0,0,0,.2),0 0 0 rgba(13,13,13,.2);box-shadow:0 0 0 rgba(0,0,0,.2),0 0 0 rgba(13,13,13,.2);background:-webkit-gradient(linear,right top,left top,from(#ef3d3a),to(#40b6fa));background:linear-gradient(270deg,#ef3d3a,#40b6fa);border:0 solid #cfd8dc;border-radius:10px}[type=range]::-webkit-slider-thumb{-webkit-box-shadow:5px 5px 15px rgba(0,0,0,.2),0 0 5px rgba(13,13,13,.2);box-shadow:5px 5px 15px rgb |
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
const path = require('path'); | |
const webpack = require('webpack'); | |
const ESLintPlugin = require('eslint-webpack-plugin'); | |
const BrowserSyncPlugin = require('browser-sync-webpack-plugin'); | |
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
const pk = require('./package.json'); | |
const env = String(process.env.NODE_ENV || 'development').toLowerCase(); | |
const version = String(pk.version) || '0.0.1'; |
OlderNewer