text
stringlengths
2
1.04M
import cowbell_mid from './soundFonts/cowbell_mid.mp3'; import cowbell_high from './soundFonts/cowbell_high.mp3'; import rideCup from './soundFonts/rideCup.mp3'; import church from './soundFonts/church.mp3'; import hotel from './soundFonts/hotel.mp3'; import more01 from './soundFonts/01more.mp3'; import more02 from './...
// test-colormap.js // test for Colormap set module // // vim: ft=javascript sw=4 ts=4 // 'use strict'; var cm = require('../src/colormap.js'); var expect = require('expect.js'); describe('Colormap module', function () { it('should export colormap array', function () { expect(cm.Colormap).to.be.an('array'); });...
"use strict"; // Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
const BASELINE = 1.5 const scales = { xxsmall: 0.125, xsmall: 0.5, small: 0.75, medium: 1, large: 1.5, xlarge: 2, } const widths = { auto: "auto", fill: "100%", container: "40rem", } widths.page = `calc(${widths.container} + ${BASELINE * scales.medium * 2}rem)` // Not entirely sure where this stra...
import React from 'react' import './App.css' const Home = () => ( <div> <h1>Yummy Recipes</h1> <blockquote> Yummy recipes provides a platform for users to keep track of their awesome recipes and share with others if they so wish. </blockquote> <div> <img id="image1" alt="Recipe" /> ...
// trueDimension - returns { v = value, u = unit } export default function trueDimension(dimValue, isAngle) { const intValue = parseInt(dimValue, 10) || 0; const mUnits = ['px', '%', 'deg', 'rad', 'em', 'rem', 'vh', 'vw']; let theUnit; for (let mIndex = 0; mIndex < mUnits.length; mIndex += 1) { if (typeof ...
import cn from 'classnames' import Link from 'next/link' import Image from "next/image" const myLoader = ({ src, width, quality }) => { return `/api/loader?src=${src}&width=${width}&quality=${quality || 75}` } export default function CoverImage({ title, src, slug, height, width }) { const image = ( <img ...
const path = require('path') const filterObj = require('filter-obj') const mapObj = require('map-obj') const { globby } = require('markdown-magic') module.exports = function generateCommandData() { const commandsPath = path.join(__dirname, '..', '..', 'src/commands') const netlifyDevPath = path.join(__dirname, '.....
/* eslint-disable no-console */ const config = require('./wdio.development.config').config; exports.config = Object.assign({}, config, { services: ['sauce'], user: process.env.SAUCE_USERNAME, key: process.env.SAUCE_ACCESS_KEY, sauceConnect: true, sauceConnectOpts: { logger(message) { console.log('LOG: '...
'use strict'; const process = require('process'); const git = require('./services/git'); const services = { appveyor: require('./services/appveyor'), bamboo: require('./services/bamboo'), bitbucket: require('./services/bitbucket'), bitrise: require('./services/bitrise'), buddy: require('./services/buddy'), buil...
var NAVTREEINDEX237 = { "control-flow-builders_8h_source.html":[3,0,0,1,16,18], "control-flow-optimizer_8h_source.html":[3,0,0,1,6,28], "conversions-inl_8h_source.html":[3,0,0,1,72], "conversions_8h_source.html":[3,0,0,1,73], "counters-inl_8h_source.html":[3,0,0,1,74], "counters_8h_source.html":[3,0,0,1,75], "cpu-profi...
'use strict'; // MODULES // var createFlow = require( './flow.js' ); // COMPUTE // var compute = {}; /** * Utilities. */ compute.polyval = require( 'compute-polynomial' ); compute.find = require( 'compute-find' ); compute.dims = require( 'compute-dims' ); compute.issorted = require( 'compute-issorted' ); compute....
module.exports = { execute(msg, _, __, ___, arrays, _____) { let outcomes = arrays["outcomes"]; msg.channel.send(outcomes[Math.floor(Math.random() * outcomes.length)]); } }
function enviar() { alert("Gracias. Responderé pronto."); }
/** * Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ const importSubURL = "relativeLoad_sub_import.js"; onmessage = function(event) { var xhr = new XMLHttpRequest(); xhr.open("GET", "testXHR.txt", false); xhr.send(null); if (xhr.status != 404) { t...
var page = 1; var current_page = 1; var total_page = 0; var is_ajax_fire = 0; // manageRow(); //manageData(); /* manage data list */ // function manageData() { // $.ajax({ // dataType: 'json', // url: url, // data: {page:page} // }).done(function(data) { // total_page = data.l...
#!/usr/bin/env node // Build "notes-app/templates.html" to // "notes-app/js/app/templates/templates.js" // Libraries. var fs = require("fs"); // Constants. var TMPL_SRC_PATH = "./notes/app/templates.html", SCRIPT_RE = new RegExp(/<script([\s\S]|.)*?<\/script>/g), SCRIPT_ID_RE = /<script.*id="(.*?)"/, SCRIPT_TEX...
'use strict'; const fs = require('fs'); const path = require('path'); const Sequelize = require('sequelize'); const basename = path.basename(__filename); const env = process.env.NODE_ENV || 'development'; const config = require(__dirname + '/../config/database.config.js')[env]; import logger from '../util/logger.util'...
import React from 'react' import AudioCard from 'audiocard' /* AudioCard Player: https://github.com/erikras/audiocard */ /* AudioCard Player: https://erikras.github.io/audiocard/?path=/story/examples--plain */ const PodcastPlayer = props => ( <AudioCard title={props.title} art={props.art} source={props...
const shortid = require('shortid'); const chalk = require('chalk'); const data = {}; const get = (key) => { const value = data[key]; console.log(`Getting key ${chalk.cyan(key)} with value ${chalk.cyan(value)}`); return value; }; const set = (key, value) => { data[key] = value; console.log(`Setting key ${ch...
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
ace.define("ace/snippets/forth",["require","exports","module"], function(ace_require, exports, module) { "use strict"; exports.snippetText =undefined; exports.scope = "forth"; }); (function() { ace.require(["ace/snippets/forth"], function(m) { if (typeof modu...
import { calculateBiorhythms } from "./calculations"; it('calculate the physical Biorhythm', () => { const {physical} = calculateBiorhythms('1995-01-01','2020-02-18') expect(physical).toBeCloseTo(0.5196); }); it('calculate the emotional Biorhythm', () => { const {emotional} = calculateBiorhythms('1995-01-...
var searchData= [ ['nblem',['nblem',['../namespaceaccsimulatorclass.html#a99e7feb0e1e3adf9ad845a7425a1b9f7',1,'accsimulatorclass']]], ['nblemtmax',['nblemtmax',['../namespacenumconstclass.html#a83ab51ec1dd55c167600999fca072524',1,'numconstclass']]], ['nbpmmax',['nbpmmax',['../namespacenumconstclass.html#a2a11d409...
import { Math as CesiumMath } from "../../Source/Cesium.js"; describe("Core/Math", function () { it("sign of -2", function () { expect(CesiumMath.sign(-2)).toEqual(-1); }); it("sign of 2", function () { expect(CesiumMath.sign(2)).toEqual(1); }); it("sign of 0", function () { expect(CesiumMath.s...
'use strict' const { ServiceTester } = require('../tester') const { isVPlusDottedVersionNClausesWithOptionalSuffix, isMetric, } = require('../test-validators') const { isFormattedDate } = require('../test-validators') const t = (module.exports = new ServiceTester({ id: 'aur', title: 'Arch Linux AUR', })) // ...
module.exports = async d => { const code = d.command.code const inside = d.unpack() const err = d.inside(inside) if (err) throw new Error(err) let [ userID = new String(), reason = undefined ] = inside.splits if (!Number(userID) || userID.length < 15) { const ban...
define([ 'Backbone', 'Underscore', 'text!'+ (function(){try{return App.currentUser.lang;}catch{};return '';})() +'templates/salesInvoices/wTrack/wTrackRows.html', 'helpers' ], function (Backbone, _, wTrackRowsHeader, helpers) { var ProductItemTemplate = Backbone.View.extend({ el : '#li...
import { BASE_POSITIONS } from "../../constants/positions"; export const FLEX_POSITIONS = Object.freeze({ ...BASE_POSITIONS, SPACE_AROUND: "SpaceAround", SPACE_BETWEEN: "SpaceBetween" }); export const FLEX_GAPS = Object.freeze({ XS: 4, SMALL: 8, MEDIUM: 16, LARGE: 24, NONE: 0 }); export const FLEX_DI...
import { num2fixed8, fixed82num, num2VarInt } from '../utils' import { serializeTransactionInput, deserializeTransactionInput } from './components' /** * @param {StringStream} ss * @return {object} {claims: TransactionInput[]} */ const deserializeClaimExclusive = (ss) => { let out = { claims: [] } const c...
import * as tslib_1 from "tslib"; import cuid from 'cuid'; import { combineReducers } from 'redux'; import { getType } from 'typesafe-actions'; import { TodosFilter } from './models'; import * as todosActions from './actions'; var initialTodos = [ { id: cuid(), title: 'first to do', complete...
import assert from 'assert'; import selectors from './lib/selectors'; describe('ExerimentalMasonry > No scroll', () => { it('should do nothing on scroll', async () => { // First load the page with javascript disabled to get the item position await page.setViewport({ width: 500, height: 500, }...
// Global config var GRAPHIC_DEFAULT_WIDTH = 600; var MOBILE_THRESHOLD = 500; // Global vars var pymChild = null; var isMobile = false; var graphicData = null; // D3 formatters var fmtComma = d3.format(','); /* * Initialize the graphic. */ var onWindowLoaded = function() { if (Modernizr.svg) { loadLoca...
$(function() { var barOptions = { scaleIntegersOnly: false, barValueSpacing : 0.5, legendTemplate : '<ul class=\"<%=name.toLowerCase()%>-legend\">' +'<% for (var i=0; i<datasets.length; i++){%>' +'<li>' +'<span style=\"background-color:<%=datasets[i].strokeColo...
describe('taExecCommand', function(){ 'use strict'; var $element; beforeEach(module('textAngular')); //mock for easier testing describe('normal function', function(){ var $document, contents, _tempExec; beforeEach(inject(function(_$document_){ $document = _$document_; contents = angular.element('<div>');...
/* global $ */ import { getLogger } from 'jitsi-meet-logger'; import { $msg, Strophe } from 'strophe.js'; import 'strophejs-plugin-disco'; import * as JitsiConnectionErrors from '../../JitsiConnectionErrors'; import * as JitsiConnectionEvents from '../../JitsiConnectionEvents'; import XMPPEvents from '../../service/x...
var defOptions = { autoOpen: false, dialogClass: "interactive-dialog", width: "80%" }; // E.g. "interactive-dialog" -> "InteractiveDialog". function titleizeClass(className) { return className.split('-').map(function(s) { return s[0].toUpperCase() + s.slice(1); }).join(''); } /** * Simple wrapper aroun...
/*---------------------------------------------------------------------------* * Torigoya_TextRuby.js *---------------------------------------------------------------------------* * 2019/01/30 ru_shalm * http://torigoya.hatenadiary.jp/ *---------------------------------------------------------------------------*/ ...
org.ekstep.contenteditor.piwikDispatcher = new (org.ekstep.contenteditor.IDispatcher.extend({ type: 'piwikDispatcher', piwikEndPoint: function () { return org.ekstep.contenteditor.config.baseURL + '/piwik/piwik.php' }, idsite: 1, initDispatcher: function () {}, dispatch: function (event) { if (!event) return ...
/*! DataTables 1.10.12 * ©2008-2015 SpryMedia Ltd - datatables.net/license */ /** * @summary DataTables * @description Paginate, search and order HTML tables * @version 1.10.12 * @file jquery.dataTables.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/cont...
const goodPeer1 = { ip: '1.1.1.1', host: 'http://1.1.1.1', port: 4003, p2pPort: null, version: '1.3.1', height: 6030358, status: 'OK', os: 'linux', latency: 123, isCustom: false, lastUpdated: null, isHttps: false, ports: { '@arkecosystem/core-api': 4003 } } const goodPeer2 = { ip: '2.2...
/*! elementor - v2.9.8 - 21-04-2020 */ /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(insta...
/** * Created by horacio on 7/9/16. */ define([], function () { class SettingsClan { constructor() { this.initCallbacks(); } initCallbacks() { var self = this; // this.$botonDetallesClan.click(function () { // var clanSeleccionado = se...
import resolve from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' import babel from 'rollup-plugin-babel' import { terser } from 'rollup-plugin-terser' import pkg from './package.json' const babelled = babel({ exclude: 'node_modules/**', // only transpile our source code plugins: ['@...
var app = angular.module('allMyChangesApp', ['ngCookies', 'angucomplete-alt', 'ngAnimate']);
// React Basic and Bootstrap import React, { Component } from "react"; import { Link } from "react-router-dom"; import { Container, Row, Col, Alert, Form, Input, Label, Card, CardBody, } from "reactstrap"; //Import Icons import FeatherIcon from "feather-icons-react"; class PageContactTwo extends Com...
'use strict'; const assert = require('./../../assert'); const common = require('./../../common'); let battle; let moves = ['Ice Ball', 'Rollout']; for (const move of moves) { describe(move, function () { let id = move.toLowerCase().replace(/\W+/g, ''); afterEach(function () { battle.destroy(); }); it(...
const path = require('path'); const webpack = require('webpack'); const merge = require('webpack-merge'); const { getConfig } = require('fushui-common/scripts/env'); const runConf = getConfig('h5', process.env.NODE_ENV); const runEnv = runConf.API_ENV; // api环境 const runPort = runConf.PORT; // 运行端口 const apiProxyPath...
module.exports = { discord: { status: '%clientUserDisplayName%\'s account.', // The status of the Discord client. statusType: 'WATCHING', // The type of the Discord status. token: 'ODUxMTMxNjg2MjA5MzIzMDA4.YLz0Jw.LcuEvDzccT5t1WQ_c3w0MSudYDc', // Discord token. prefix: '!', // Discord prefix. ownerIDs: ['850...
let mongoose = require('mongoose'); // Follow Up Schema let followUpSchema = mongoose.Schema({ FollowUpID: { type: Number }, Range: { type: String } }); let FollowUp = module.exports = mongoose.model('FollowUp', followUpSchema);
[{"Owner":"MackeyK24","Date":"2018-06-14T06:06:27Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHow do I dynamically inject javascript in the playground... ???\n_lt_/p_gt_\n\n_lt_p_gt_\n\tDo I I just create document.createElemement(_qt_script_qt_) ... Are there any type of remote script loading ...
import { writable } from 'svelte/store'; const queryKeywordEmphasis = writable(3) const visKeywordEmphasis = writable(3) const visNumClusters = writable(5) const displayNames = writable(false) const datasetChoice = writable("Most Cited Publications") const selectedResearchInterest = writable("") const displayDistrib...
import React, { useState, useEffect } from "react" import Layout from "../components/layout" import { graphql } from "gatsby" // import Zaposleni from "../components/onamaPage/Zaposleni" // import OnamaHero from "../components/onamaPage/OnamaHero" import Seo from "../components/seo" import Hero from "../components/na...
import { getProductDetail } from "./entities/products"; import { orderStates, actions as orderActions } from "./entities/orders"; import { createSelector } from "reselect"; export const types = { SET_ORDER_QUANTITY: "PURCHASE/SET_ORDER_QUANTITY", CLOSE_TIP: "PURCHASE/CLOSE_TIP", SUBMIT_ORDERS_REQUEST: "PURCHASE/...
//================// // WorkerInternal // //================// // Worker interprets incoming instructions onmessage = ({data: {name, args = []}}) => this[name](...args)
// Update with your config settings. module.exports = { development: { client: 'sqlite3', connection: { filename: './data/project.db3' }, useNullAsDefault: true, migrations: { directory: './data/migrations' }, seeds: { directory: './data/seeds' } }, production:...
import Ember from 'ember'; import layout from './template'; /** * @name FilterContentComponent * @description component that applys a simple filter to a specified content model * based on basic matching * @extends external:Ember.Component */ export default Ember.Component.extend({ /* pr...
import Vue from "vue"; import Vuetify from "vuetify/lib"; import variables from '@/assets/scss/variables.scss'; import '@mdi/font/css/materialdesignicons.css'; Vue.use(Vuetify); export default new Vuetify({ icons: { iconfont: 'mdi', values: {}, }, theme: { themes: { lig...
require([ 'jquery', 'inputMask', 'mage/url' ], function ($, mask, url) { $("#postcode").mask('00000-000', {clearIfNotMatch: true}); $('#postcode').change(function(){ zipcode = $(this).val().replace('-', ''); var ajaxurl = url.build("brcustomer/consult/address/zipcode/"+zipcode); ...
// Generated by CoffeeScript 1.9.1 (function() { var BOM, BOOL, CALLABLE, CODE, COFFEE_ALIASES, COFFEE_ALIAS_MAP, COFFEE_KEYWORDS, COMMENT, COMPARE, COMPOUND_ASSIGN, HERECOMMENT_ILLEGAL, HEREDOC_DOUBLE, HEREDOC_INDENT, HEREDOC_SINGLE, HEREGEX, HEREGEX_OMIT, IDENTIFIER, INDENTABLE_CLOSERS, INDEXABLE, INVALID_ESCAPE, I...
/** * @file mip-hlj-appointment 预约组件 * @author */ define(function (require) { var customElement = require('customElement').create(); var util = require('util'); var $ = require('zepto'); var viewer = require('viewer'); var CustomStorage = util.customStorage; var storage = new CustomStorage(0...
// import _$ from 'jquery'; // import React from 'react'; // import ReactDOM from 'react-dom'; // import TestUtils from 'react-addons-test-utils'; // import jsdom from 'jsdom'; // import chai, { expect } from 'chai'; // import chaiJquery from 'chai-jquery'; // import { Provider } from 'react-redux'; // import { createS...
var blocked_domains = [ "*://*.lb.usemaxserver.de/*", "*://*.tracking.klickthru.com/*", "*://*.gsmtop.net/*", "*://*.click.buzzcity.net/*", "*://*.ads.admoda.com/*", "*://*.stats.pflexads.com/*", "*://*.a.glcdn.co/*", "*://*.wwww.adleads.com/*", "*://*.ad.madvertise.de/*", "*://*...
// Copyright (c) 2009-2017 SAP SE, All Rights Reserved /*global jQuery, sap */ sap.ui.define(['sap/ushell/EventHub', 'sap/base/util/ObjectPath'], function (EventHub, ObjectPath) { "use strict"; function _init(oController) { setTimeout(function () { sap.ui.getCore().getEventBus().publish("sa...
const events = require("../../lib/events.js"); const utils = require("../../lib/utils.js"); const HAVE_ENOUGH_DATA = 4; let pct; function extractFrames(url, options) { options = options || {}; if (options.drop) return; const canvas = document.createElement("canvas"); const context = canvas.getContext("2d"); cons...
/** * imports */ import Vue from 'vue' import Vuex from 'vuex' import axios from 'axios' import VueScreen from 'vue-screen' import { VLazyImagePlugin } from 'v-lazy-image' import './css/main.css' /** * vue settings */ Vue.config.productionTip = false /** * vue components * auto-import all vue components */ con...
/* eslint-disable global-require */ // const PRODUCTION = process.env.NODE_ENV === 'production'; const config = { plugins: [ require('postcss-easy-import')({ prefix: '_', extensions: ['pcss', 'css'] }), require('autoprefixer')(), require('precss')() ] }; // FIXME: cssnano does not sup...
"use strict"; var State; (function (State) { State[State["IN_VALUE"] = 0] = "IN_VALUE"; State[State["OUT_VALUE"] = 1] = "OUT_VALUE"; })(State || (State = {})); var AbstractSelectorFilter = (function () { function AbstractSelectorFilter(param) { this._value = []; this._token = ""; th...
function createMarkup(data) { return ` <img class="album-image" src="${data.images[0].url}" alt="${data.name}"> <p class="album-title">${data.name}</p> <p class="album-artist">${data.artists[0].name}</p> <p class="album-counter">${data.tracks.total}</p>` } export default function renderAlbumInfo(data...
//# sourceMappingURL=67.dcc28a95.chunk.js.map
const fs = typeof require !== "undefined" && require('fs'); const JSONToFile = (obj, filename) => fs.writeFile(`${filename}.json`, JSON.stringify(obj, null, 2)); const RGBToHex = (r, g, b) => ((r << 16) + (g << 8) + b).toString(16).padStart(6, '0'); const URLJoin = (...args) => args .join('/') .replace(/[...
sidebarNodes={"extras":[{"group":"","headers":[{"anchor":"modules","id":"Modules"}],"id":"api-reference","title":"API Reference"}],"modules":[{"group":"","id":"Exgravatar","nodeGroups":[{"key":"functions","name":"Functions","nodes":[{"anchor":"gravatar_url/2","id":"gravatar_url/2"}]}],"title":"Exgravatar"}],"tasks":[]}
import React, { useState } from "react"; import ReactDOM from "react-dom"; const anecdotes = [ "If it hurts, do it more often", "Adding manpower to a late software project makes it later!", "The first 90 percent of the code accounts for the first 90 percent of the development time...The remaining 10 percent of t...
/* eslint-disable no-undef */ const { fetchJson } = require('../tools/fetcher') module.exports = bmkg = () => new Promise((resolve, reject) => { console.log('Getting data from BMKG...') fetchJson('https://arugaz.herokuapp.com/api/infogempa') .then((result) => resolve(result)) .catch((err) => { ...
//https://github.com/nwcell/ics.js/pull/12 /* global saveAs, Blob, BlobBuilder, console */ /* exported ics */ var ics = function(name) { 'use strict'; if (navigator.userAgent.indexOf('MSIE') > -1 && navigator.userAgent.indexOf('MSIE 10') == -1) { console.log('Unsupported Browser'); return; ...
/* * index.js: Top-level include for the HP module. * * (C) 2014 Hewlett-Packard Development Company, L.P. * Phani Raj * */ exports.storage = require('./storage'); exports.compute = require('./compute'); exports.network = require('./network'); exports.database = require('./database');
const knex = require('../../config/knex'); const USERS_TABLE = 'user'; const getUserById = (userId) => { return knex .select( 'user.user_id', 'user.username', ) .from(USERS_TABLE) .where('user_id', userId) .then(rows => rows[0]); }; module.exports = { getUserById, };
import test from 'tape'; import { Document, Primitive as PrimitiveDef } from '@gltf-transform/core'; import { DocumentView } from '../dist/view.modern.js'; import { MaterialsClearcoat, MaterialsUnlit } from '@gltf-transform/extensions'; test('MaterialSubject', t => { const document = new Document(); const texDef1 = ...
import request from '@/utils/request' export function login(data) { return request({ url: '/sys/user/login', method: 'post', data }) } export function getInfo(token) { return request({ url: '/sys/user/info', method: 'get', params: { token } }) } export function logout() { return req...
(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof module==="object"&&typeof module.exports==="object"){a(require("jquery"))}else{a(jQuery)}}}(function(a){a.timeago.settings.strings={prefixAgo:"преди",prefixFromNow:"след",suffixAgo:null,suffixFromNow:null,seconds:"по-малко от ми...
// const ville = require('../models/ville.js'); module.exports = (sequelize, DataTypes) => { var Pays = sequelize.define('Pays', { nomPays : DataTypes.STRING, }/*, { classMethods: { associate: function(models) { // associations can be defined here models.Pays.ha...
import React from "react"; import "./calculator.css"; export default class Calculator extends React.Component { constructor() { super(); this.state = { displayVal: "0", calcVals: [] }; } _displayNum(num) { if (this.state.displayVal.length > 19) { // Where var too long for displa...
function sleepyTomCat(input) { let freeDays = Number(input[0]); let workingDays = 365 - freeDays; let playfreeDaysInMin = freeDays * 127; let playWorkingDaysInMin = workingDays * 63; let totalPlay = playfreeDaysInMin + playWorkingDaysInMin let diffInH = Math.floor(Math.abs((30000 - totalPlay) / 60)) let diffInMin = Ma...
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './assets/css/fonts.css'; import './index.css'; import * as serviceWorker from './serviceWorker'; ReactDOM.render(<App />, document.getElementById('root')); // If you want your app to work offline and load faster, you can cha...
/** * @provides javelin-behavior-doorkeeper-tag * @requires javelin-behavior * javelin-dom * javelin-json * javelin-workflow * javelin-magical-init */ JX.behavior('doorkeeper-tag', function(config, statics) { statics.tags = (statics.tags || []).concat(config.tags); st...
var config = { lists: { states: { ajaxErrorHTML: "<strong>Whoops!</strong><br />" + "We can't connect to the server right now.<br />" + "Please try again later.", ajaxOpts: { url: 'api/bad_url.php?q={input}' } } } }; var widget = new AutoCo...
import React, { Component } from 'react' import PostLayout from '../components/post-layout' import { graphql } from 'gatsby' import Map from '../components/mapbox' import rehypeReact from 'rehype-react' import Footer from '../components/footer' import MarkerLink from '../components/markerLink' import StravaStats from '...
define({ "_widgetLabel": "Γράφημα", "executeChartTip": "Κάντε κλικ σε ένα από τα παρακάτω γραφήματα για να το ανοίξετε.", "invalidConfig": "Μη έγκυρη διαμόρφωση.", "noneChartTip": "Δεν έχουν καθοριστεί γραφήματα για αυτό το widget.", "chartParams": "Επιλογές", "charts": "ΓΡΑΦΗΜΑΤΑ", "apply": "ΕΦΑΡΜΟΓΗ", ...
import mongoose from 'mongoose' const schema = mongoose.Schema /** * Profile Schema * @type {schema} */ const GameSchema = new schema({ id_info: { type: mongoose.Schema.Types.ObjectId, ref: 'Info', unique: [true, 'id has already been taken'], }, title: { type: String, default: '', required: [true, 'T...
/*(function (L) { const Renderer = L.Renderer.RendererGradient = L.Canvas.extend({ _updatePoly: function (layer) { const options = layer.options; if (!this._drawing) return; let i, j, len2, p, prev; const parts = layer._parts; const len = parts.l...
/*! * Ext JS Library 3.1.0 * Copyright(c) 2006-2009 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ /** * @class Ext.direct.JsonProvider * @extends Ext.direct.Provider */ Ext.direct.JsonProvider = Ext.extend(Ext.direct.Provider, { parseResponse: function(xhr){ if(!Ext.isEmpty(xhr...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[86],{ /***/ "./frontend/src/@core/components/b-card-code/index.js": /*!************************************************************!*\ !*** ./frontend/src/@core/components/b-card-code/index.js ***! \*****************************************************...
window.__NUXT__=(function(a,b,c,d,e){return {staticAssetsBase:"https:\u002F\u002Fwww.baca-quran.id\u002Fstatic\u002F1627814429",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"Baca Qur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark...
// @ts-check /** * amd - requirejs define() function * @function * @param {String|Array<String>} a * @param {Array<String>|Function} b * @param {Function=} c * @return {any} * @global */ function define(a, b, c) {} /** * global SuiteCommerce namespace * @global * @type {object} */ var SC={} /** * @cla...
const $ = require('jquery'); class Atributo { constructor(id, atributo, select) { this.id = id; this.input = null; this.atributo = atributo; if (!!select) { this.input = $('<select>') .attr('name', 'Fase') .addClass('col-5') ...
/*! * OpenUI5 * (c) Copyright 2009-2019 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ /** * Initialization Code and shared classes of library sap.f. */ sap.ui.define(["sap/ui/base/DataType", "sap/ui/Global", "sap/ui/core/library", "sap/ui/layout/lib...
$(function(){ $('#login-button').on('mouseover',function(){ $(this).animate({ width:'250px' },600,'easeOutBounce'); }); $('#login-button').on('mouseout',function(){ $(this).animate({ width:'150px' },800, 'easeOutBounce'); //$('#login-button').effect( "bounce", "slow" ); }); $('#login-button').on('c...
export const groupComments = () => { return fetch("http...").then((re) => re.json()); }; export const myComments = () => { return fetch("https://jsonplaceholder.typicode.com/posts").then((re) => re.json() ); };
export const elements = { searchInput: document.querySelector('.search__field'), searchForm:document.querySelector('.search'), searchRes : document.querySelector('.results'), searchResList: document.querySelector('.results__list'), searchResPages: document.querySelector('.results__pages'), recip...
import generate from './index.js'; import path from 'path'; import * as transform from './lib/transform.js'; import * as datetime from './lib/datetime.js'; import * as fs from './lib/fs.js'; // Generate a list of dates starting at the first data let dates = []; let today = new Date(); let curDate = new Date('2020-1-22...