text
stringlengths
2
1.05M
export const CheckSquareOutline = { name: 'check-square', theme: 'outline', icon: '<svg viewBox="64 64 896 896" focusable="false"><path d="M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6....
'use strict'; 'use-strict'; var _powerAssertVisitorKeys = '{"ArrayExpression":["elements"],"AssignmentExpression":["left","right"],"BinaryExpression":["left","right"],"Directive":["value"],"DirectiveLiteral":[],"BlockStatement":["directives","body"],"BreakStatement":["label"],"CallExpression":["callee","arguments"],"C...
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: Advancement of lastIndex es6id: 21.2.5.2.2 info: | 21.2.5.2.2 Runtime Semantics: RegExpBuiltinExec ( R, S ) [...] 12. Let flags be the value of R’s [...
const path = require('path') const {VueLoaderPlugin} = require('vue-loader') const HTMLWebpackPlugin = require('html-webpack-plugin'); const site = path.join(__dirname, '../../../site'); module.exports = { entry: path.join(site, 'main.ts'), module: { rules: [ { test: /\.js$/, use: 'babel-loader', exclude...
// ========================================================================== // Animation utils // ========================================================================== import is from './is'; export const transitionEndEvent = (() => { const element = document.createElement('span'); const events = { ...
var searchData= [ ['mat',['mat',['../structsalle__s.html#ad9934630b58b551f8f185dead2006ba6',1,'salle_s']]] ];
KB.on('dom.ready', function() { function savePosition(subtaskId, position) { var url = $(".subtasks-table").data("save-position-url"); $.ajax({ cache: false, url: url, contentType: "application/json", type: "POST", processData: false, ...
import { createSlice } from '@reduxjs/toolkit'; import reducers from './boardsReducers'; import extraReducers from './boardsThunks'; import getInitialState from './boardsInitialState'; export const boardsSlice = createSlice({ name: 'boards', initialState: getInitialState(), reducers, extraReducers, }); export...
class item { // o Math serve para não ter a chance de 2 itens terem o mesmo Id quando são chamados pelo localStorage static lastId = 0 + Math.random() * 1000; constructor(text, habit, priority, day, month, year) { this.id = item.lastId++; this.text = text; this.done = false; ...
/* Copyright (c) 2018-2020 Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ // @flow import * as React from 'react'; import {ProgressBarRounded, SIZE} from '../index.js'; export default function Scenario() { return ( ...
import React, { useCallback, useImperativeHandle, useMemo, useRef, useState, } from 'react'; import clsx from 'clsx'; import getScrollbarWidth, { contains, convertToArray, invoke, isNil, isNumber, validate, } from '../Utils'; import Checkbox from '../Checkbox'; import Radio from '../Radio'; import...
import React from "react"; const Column = props => { const size = props.size .split(" ") .map(size => "col-" + size) .join(" "); return <div className={size}>{props.children}</div>; }; export default Column;
({ doInit: function(component, event, helper) { console.log('doInit'); var eventParams = event.getParams(); if(eventParams.changeType === "LOADED") { component.get("v.recordInfo"); // record is loaded (render other component which needs record data value) co...
const path = require('path'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const WEBPACK_MODE = (typeof process.env.WEBPACK_MODE === 'undefined') ? "development" : process.env.WEBPACK_MODE; const OUTPUT_DIR= (typeof process.env.OUTPUT_DIR === 'undefined') ? path.resolve(__dirname, "dist") : process.en...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const { SyncBailHook } = require("tapable"); const { RawSource } = require("webpack-sources"); const ChunkGraph = require("./ChunkGraph"); const Compilation = require("./Compilation"); const HotUpdateChun...
function Controls() { let _matrix; let _stateManager; const THEMES = ['red-leds', 'yellow-leds', 'green-leds', 'blue-leds', 'white-leds', 'black-leds' ]; function init(stateManager, matrix) { _stateManager = stateManager; _matrix = matrix; ...
// 模板使用页面 appController.controller('designDetailCtrl', ['$scope', '$rootScope', '$sce', '$stateParams', '$ionicLoading', '$ionicScrollDelegate', '$ionicPopover', '$ionicPopup', '$timeout', '$state', 'localStorageService', 'ShareService', 'IonicService', 'MsgBox', 'WechatApi', 'Con', function($scope, $rootScope, $sce, $...
export function buildTree(data) { let map = new Map() let items = [] for (let item of data) { item.children = [] map.set(item.id, item) } for (let [, item] of map) { if (item.parentId === 0) { items.push(item) } else { let parent = map.get(item...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.proto...
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //--------------------------------------------------------...
/** * @flow */ const ListRole: AXObjectModelDefinition = { relatedConcepts: [ { module: 'ARIA', concept: { name: 'list', }, }, { module: 'HTML', concept: { name: 'ul', }, }, { module: 'HTML', concept: { name: 'ol', }, ...
'use strict'; var parenthesize = function(input, list) { if (list === undefined) { return parenthesize(input, []); } else { var token = input.shift(); if (token === undefined) { return list.pop(); } else if (token === "(") { list.push(parenthesize(input, [])); return parenthesize(...
import pkg from './package.json' import vuePlugin from 'rollup-plugin-vue' import scss from 'rollup-plugin-scss' import peerDepsExternal from 'rollup-plugin-peer-deps-external' import resolve from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' import json from '@rollup/plugin-json' import ...
{% load djblets_js reviewtags %} el: document.body, reviewRequestData: { bugTrackerURL: "{% if review_request.repository.bug_tracker %}{% url 'bug_url' review_request.display_id '--bug_id--' %}{% endif %}", id: {{review_request.display_id}}, localSitePrefix: "{% if re...
jest.dontMock('../../components/shared/PageContainer.jsx'); jest.dontMock('classnames'); import React from 'react/addons'; import PageContainer from '../../components/shared/PageContainer.jsx'; const TestUtils = React.addons.TestUtils; function renderedOutput(elt) { const shallowRenderer = TestUtils.createRenderer...
'use strict'; const axios = require('axios'); const chalk = require('chalk'); const pick = require('lodash.pick'); const prettyjson = require('prettyjson'); const store = require('./services/store'); const url = 'http://api.mongoosecloud.io/api'; const deploymentProps = [ 'organizationName', 'repoName', 'branch...
/** * @author sunag / http://www.sunag.com.br/ */ import { Matrix4 } from '../../../../build/three.module.js'; import { InputNode } from '../core/InputNode.d.ts'; function Matrix4Node( matrix ) { InputNode.call( this, 'm4' ); this.value = matrix || new Matrix4(); } Matrix4Node.prototype = Object.create( Inpu...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
// This file was automatically generated from common.soy. // Please don't edit this file by hand. if (typeof apps == 'undefined') { var apps = {}; } apps.messages = function(opt_data, opt_ignored, opt_ijData) { return '<div style="display: none"><span id="subtitle">sjónrænt forritunarumhverfi</span><span id="block...
class Category { } // currently only shared by Weekly and Collection class BaseCollection extends Category { currentMarkers() { return [].concat(...this.items.map(item => item.currentMarkers())); } // “Sell” event handler shared by Weekly and Collection to be found in Collection. // And this comment is shor...
const express = require("express"); const router = express.Router(); // Import modules from other file const { adminValidation } = require("./middleware/verification"); const { createNewAccount, createAccountInformation, getAllRolesInformation, getAccountsByRole, createNewGuestAccount, updateGuestAccount, ...
"use strict"; // tslint:disable /** * MailSlurp API * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage...
const path = require('path') require('dotenv').config({ path: `.env.${process.env.NODE_ENV}` }) module.exports = { siteMetadata: { title: `Gatsby Shopify Starter`, description: `Kick off your next, ecommerce experience with this Gatsby starter. This starter ships with credentials to a shopify demo store s...
(window.webpackJsonp=window.webpackJsonp||[]).push([[253],{321:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return o})),n.d(t,"metadata",(function(){return c})),n.d(t,"toc",(function(){return s})),n.d(t,"default",(function(){return u}));var r=n(3),i=n(8),a=(n(0),n(553)),o={id:"high-availability-h...
;var VueDemi = (function (VueDemi, Vue, VueCompositionAPI) { if (VueDemi.install) { return VueDemi } if (Vue) { if (Vue.version.slice(0, 2) === '2.') { if (VueCompositionAPI) { for (var key in VueCompositionAPI) { VueDemi[key] = VueCompositionAPI[key] } VueDemi.isVu...
const Settings = require('../settings'); class User { constructor(userData) { this.userData = userData; this.invalidDecks = undefined; } get _id() { return this.userData._id; } get disabled() { return this.userData.disabled; } get username() { retu...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const async = require("async"); const crypto = require("crypto"); const Tapable = require("tapable"); const EntryModuleNotFoundError = require("./EntryModuleNotFoundError"); const ModuleNotFound...
const Engine = Matter.Engine; const World = Matter.World; const Bodies = Matter.Bodies; const Constraint = Matter.Constraint; var engine, world, backgroundImg; var canvas, angle, tower, ground, cannon; var balls = []; var boats = []; var boatAnimation = []; var boatSpriteData; var boatSpriteSheet; var sc...
'use strict'; (function() { function getCookieValue(name, defaultValue) { var value = document.cookie.match('(^|;)\\s*' + name + '\\s*=\\s*([^;]+)'); return value ? value.pop() : defaultValue; } function showHeader(visible) { if (bannerVisible === visible) { return; } const body =...
import React from 'react' import {connect} from 'react-redux' import {authenticate} from '../store' /** * COMPONENT */ const AuthForm = props => { const {name, displayName, handleSubmit, error} = props return ( <div> <form onSubmit={handleSubmit} name={name}> <div> <label htmlFor="em...
import DEFAULTS from '/modules/mmi/scripts/defaults.js'; import MMI, { validate, SourceFactory } from '/modules/mmi/scripts/main.js'; import DeckConfigApplication from '/modules/mmi/scripts/apps/DeckConfigApplication.js'; /** * Form application to configure settings of the Deck. */ export default class SourceConfig...
import React from 'react'; import Home from "modules/home/Home.js"; import 'App.scss'; const App = () => ( <Home /> ) export default App;
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. const { Postgr...
/*----------ws License and Copyright Notices-------- ws http://einaros.github.com/ws ----------------------------------- This file is based on or incorporates material from the projects listed below (collectively, “Third Party Code”). Microsoft is not the original author of the Third Party Code. The original copyr...
//// Protractor configuration file, see link for more information //// https://github.com/angular/protractor/blob/master/lib/config.ts //const { SpecReporter } = require('jasmine-spec-reporter'); //exports.config = { // allScriptsTimeout: 11000, // specs: [ // './e2e/**/*.e2e-spec.ts' // ], // capabilities: { ...
/* eslint-disable no-undef */ /* eslint-disable no-console */ let net = require('net'); let socks = require('./socks'); let server = net.createServer(); function info(tag, msg) { console.log(`${tag}:${JSON.stringify(msg)}`); } server.on('connection', client => { let state = 1; let remote1 = null; //let remote2 = nu...
import React, { Component } from "react"; import { Container, Row, Col, Button } from "reactstrap"; import "../App.css"; import { ReactComponent as Phone } from "../assets/svg/phone.svg"; import { ReactComponent as MapPin } from "../assets/svg/map-pin.svg"; import { ReactComponent as Mail } from "../assets/svg/mail.svg...
const { sum, sub, mult, div } = require("./operations"); const actionHandler = (operator, numbers) => { switch (operator) { case "sum": sum(numbers); break; case "sub": sub(numbers); break; case "mult": mult(numbers); break; case "div": div(numbers); ...
// Generated by purs bundle 0.14.4 var PS = {}; (function($PS) { // Generated by purs version 0.14.4 "use strict"; $PS["Control.Apply"] = $PS["Control.Apply"] || {}; var exports = $PS["Control.Apply"]; var apply = function (dict) { return dict.apply; }; exports["apply"] = apply; })(PS); (function($P...
const path = require('path') const express = require('express') const morgan = require('morgan') const compression = require('compression') const session = require('express-session') const passport = require('passport') const SequelizeStore = require('connect-session-sequelize')(session.Store) const db = require('./db'...
import React from 'react' import ReactDOM from 'react-dom' import { createStore, applyMiddleware } from 'redux' import { Provider } from 'react-redux' import thunk from 'redux-thunk'; import Router from './components/Router' import rootReducer from './store/reducers/rootReducer' import './css/index.css'; const store =...
/** * WordPress View plugin. */ (function() { var VK = tinymce.VK, TreeWalker = tinymce.dom.TreeWalker, selected; tinymce.create('tinymce.plugins.wpView', { init : function( editor, url ) { var wpView = this; // Check if the `wp.mce` API exists. if ( typeof wp === 'undefined' || ! wp.mce ) ret...
document.querySelectorAll('.sidebar-submenu').forEach(e => { e.querySelector('.sidebar-menu-dropdown').onclick = (event) => { event.preventDefault() e.querySelector('.sidebar-menu-dropdown .dropdown-icon').classList.toggle('active') let dropdown_content = e.querySelector('.sidebar-menu-drop...
// @flow import optionalRequire from '../Utils/OptionalRequire.js'; import { type ExternalEditorOpenOptions } from './ResourceExternalEditor.flow'; import { createOrUpdateResource, getLocalResourceFullPath, } from './ResourceUtils.js'; const electron = optionalRequire('electron'); const path = optionalRequire('pat...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-55198bd8"],{"38d7":function(t,e,n){},4873:function(t,e,n){"use strict";var s=n("38d7"),i=n.n(s);i.a},"679b":function(t,e,n){},"7c58":function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"r...
//// [assignFromNumberInterface.js] var x = 1; var a; x = a; a = x;
const { declare } = require('@babel/helper-plugin-utils'); module.exports = declare(() => ({ manipulateOptions({ parserOpts }) { parserOpts.plugins.push(['decorators-legacy']); }, }));
(function ($, undefined) { /* Filter menu operator messages */ if (kendo.ui.FilterCell) { kendo.ui.FilterCell.prototype.options.operators = $.extend(true, kendo.ui.FilterCell.prototype.options.operators,{ "date": { "eq": "Eşittir", "gt": "Sonra", "gte": "Sonra ya da eşit", "lt": "Önce", "lte": "Ö...
export default (state = [], action) => { switch (action.type) { case 'INIT_WEB3': return action.payload default: return state } }
$(document).on("change","#image1",function(){var n,t;let i=$(this).parent().attr("id");(console.log(i),console.log(1),n=!this.files?[]:this.files,n.length&&window.FileReader)&&(/^image/.test(n[0].type)?(t=new FileReader,t.readAsDataURL(n[0]),t.onloadend=function(){$("#"+i).css("background-image","url("+this.result+")")...
const puppeteer = require('puppeteer'); const catchAsync = fn => (req, res, next) => { Promise.resolve(fn(req, res, next)).catch(err => next(err)); }; exports.printResume = catchAsync(async (req, res) =>{ const userId = req.query.userId; const auth = req.query.auth; const type = req.query.type; co...
const connectionPool = require('./mysqlConnectionPool') const { errorCodes } = require('./errorCodes') const token = { addToken: (isAdmin, expiresAt, userId, clientId) => { return new Promise((resolve, reject) => { connectionPool.query(`INSERT INTO tokens(is_admin, expires_at, client_id, user_i...
import React from 'react'; import Helmet from 'react-helmet'; import Fonts from '../components/Fonts'; const PageWrapper = ({ children }) => ( <div> <Helmet title="Alexander Madyankin" meta={[ { name: 'description', content: 'Alexander Madyankin. Frontend developer', ...
import typescript from "rollup-plugin-typescript2"; import json from "rollup-plugin-json"; // import resolve from "@rollup/plugin-node-resolve"; export default { external: ["@valeera/eventdispatcher", "@valeera/idgenerator"], input: "src/index.ts", output: [ { file: "build/x.js", format: "umd", globals: ...
export function readStoryNote(btn) { btn.addEventListener("click", (event) => { const txt = event.target.dataset.note; if (txt.length >= 1) { const utterance = new SpeechSynthesisUtterance(txt); window.speechSynthesis.speak(utterance); } }) }
/* * My97 DatePicker 4.8 * License: http://www.my97.net/license.asp */ var $dp,WdatePicker;(function(){var l={ $langList:[ {name:"en",charset:"UTF-8"}, {name:"zh-cn",charset:"gb2312"}, {name:"zh-tw",charset:"GBK"} ], $skinList:[ {name:"default",charset:"gb2312"}, {name:"whyGreen",charset:"gb2312"}, {nam...
(self.webpackChunkgeonode_mapstore_client=self.webpackChunkgeonode_mapstore_client||[]).push([[6235],{965539:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(667294),o=n.n(r);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Obj...
const db = require("../database/database"); const WEB_HOST = process.env.WEB_HOST exports.getRegistrationRequests = async (req, res, next) => { try{ const registrationRequests = await db.getAllRegistrationRequests() console.log(registrationRequests) return res.status(200).json(registrationR...
var D3 = D3 || {}; D3.Text = function () { function calcFontSizeRaw(text, radius, minimumSize, isMultiline) { minimumSize = minimumSize || 10; var textSize = radius / 3; if (typeof text === "string") { var len = text.substring(0, radius / 3).length + 1.5; textSize *...
var temp = [{_id:""},{_id:"1"}]; //buildMap(temp); //function buildMap(input){ // d3.selectAll("svg").remove; var width = 960, height = 500, centered; var projection = d3.geo.albersUsa() .scale(1070) .translate([width / 2, height / 2]); var path = d3.geo.path() .projection(projection); var s...
export default { SEARCH_PRODUCT_IN_CATALOG: (state, value) => { state.searchValue = value; }, SWITH_MOBILE: (state) => { state.isMobile = true; state.isDesktop = false; }, SWITH_DESKTOP: (state) => { state.isDesktop = true; state.isMobile = false; }, SET_PRODUCTS_TO_STATE: (state, prod...
"use strict"; var React = require('react'); var Input = React.createClass({ propTypes: { name: React.PropTypes.string.isRequired, label: React.PropTypes.string.isRequired, onChange: React.PropTypes.func.isRequired, placeholder: React.PropTypes.string, value: React.PropTypes.string, ...
import {createStore, combineReducers, applyMiddleware, compose} from 'redux'; import thunk from 'redux-thunk'; import expensesReducer from '../reducers/expenses'; import filtersReducer from '../reducers/filters'; import authReducer from '../reducers/auth'; const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_CO...
import { Colors, Metrics, Fonts } from '../../Themes/' export default { container: { position: 'absolute', top: 0, left: 0, right: 0, height: Metrics.navBarHeight, paddingTop: Metrics.smallMargin, paddingHorizontal: 5, backgroundColor: Colors.igniteBackground, flexDirection: 'row'...
import * as React from 'react'; import Box from '@mui/material/Box'; import Paper from '@mui/material/Paper'; export default function Card() { return ( <Paper elevation={3} > </Paper> ); }
"use strict"; var _babelHelpers = require("./utils/babelHelpers.js"); exports.__esModule = true; var _react = _babelHelpers.interopRequireDefault(require("react")); var _Icon = require("./Icon"); var _fragments = require("./fragments"); var OutlineCake = /*#__PURE__*/ function OutlineCake(props) { return _react...
!function(v){var c,a='<svg><symbol id="icon-diaoping" viewBox="0 0 1024 1024"><path d="M810.16 95.456 517.936 95.456c-3.968-17.296-10.48-33.904-21.44-46.016-11.552-12.768-26.688-19.52-43.776-19.52-22.192 0-40.864 8.48-54 24.528-9.44 11.552-15.024 26-18.176 40.992l-82.384 0c-13.248 0-24 10.752-24 24 0 13.248 10.752 24 2...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
describe('Location Blacklist Controller', function () { var $scope, $controller, $parentScope, $httpBackend, Table, Modal, Notifications; beforeEach(module('adminNg')); beforeEach(module(function ($provide) { $provide.value('Language', { configureFromServer: function () {}, ...
import React, { Component } from 'react' import { connect } from 'dva' import moment from 'moment' import BooleanOption from '../../components/BooleanOption'; import BaseTool from '../../common/Base.tool' import { Tag, Button, Row, Col, Icon, Card, Tabs, Table, Radio, DatePicker, Tooltip, Menu, Dropdown,Badge, Switch...
module.exports = (sequelize, DataTypes) => { return sequelize.define("warns", { id: { type: DataTypes.INTEGER, allowNull: false, primaryKey: true, autoIncrement: true, }, server: DataTypes.STRING, user: DataTypes.STRING, warnedBy: DataTypes.STRING, reason: DataTypes.TEX...
var webpack = require('webpack'); var CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin"); module.exports = { entry: { index:'./public/html/js/index.js', main:'./public/html/js/main.js' }, output: { filename: '[name].js' }, module: { loaders: [{ test:...
'use strict'; var gulp = require("gulp"); var sass = require("gulp-sass"); var plumber = require("gulp-plumber"); var postcss = require("gulp-postcss"); var autoprefixer = require("autoprefixer"); var mqpacker = require("css-mqpacker"); // consolidate all styles var minify = require("gulp-csso"); // minification css v...
/* * Copyright © 2016 Cask Data, Inc. * * 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 agreed t...
/* * watch-test.js: Tests for restarting forever processes when a file changes. * * (C) 2010 Nodejitsu Inc. * MIT LICENSE * */ var assert = require('assert'), path = require('path'), fs = require('fs'), vows = require('vows'), forever = require('../../lib/forever'); vows.describe('forever/monito...
const fs = require("fs"); const axios = require("axios"); const BLIZZARD_URL = "https://eu.battle.net/oauth/token"; // Create axios interceptor that on Authorization will refresh the access token const connection = axios.create(); connection.interceptors.response.use( (res) => { return res; }, async (err) =...
import { md5 } from './md5'
function addWidgetsfrmCal() { var label121049260345 = new kony.ui.Label({ "id": "label121049260345", "isVisible": true, "skin": "lblSub", "text": "Default view" }, { "containerWeight": 100, "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT, "hExpand"...
/* @flow */ import EventEmitter from 'events'; import crypto from 'crypto'; import warning from 'warning'; import { LineClient } from 'messaging-api-line'; import LineContext from '../context/LineContext'; import LineEvent, { type LineRawEvent } from '../context/LineEvent'; import { type Session } from '../session/S...
module.exports = { plugins: [ { resolve: "gatsby-plugin-antd", options: { style: true } }, { resolve: "gatsby-plugin-less", options: { javascriptEnabled: true, modifyVars: { "primary-color": "#26475F", "l...
const util = require("util"); const fs = require("fs"); const sharp = require("sharp"); const { isInt, uploadFile, deleteFile } = require("./helpers"); const unlinkFile = util.promisify(fs.unlink); const getUserStars = async (req, res) => { if (!isInt(req.params.userId)) { res.status(400).end(); return; }...
var error = require('../../serror') var res = require('../../res'); var protocol = require('../../../network/protocol'); var nodes = require('../../../db/entity/network/nodes') module.exports = function (params) { var peers = protocol.getNodeList(), peerinfo = {}; for (var i in peers) { var d = nodes....
// No need for this now, update next time const uploadElements = { chooseUploadListing: '//*[@id="ngf-label-upload-button-listing"]/input[@id="ngf-upload-button-listing"]', uploadButton: '.btn.btn-ai-success', listingUploadText: '//chpl-upload/div/div/chpl-upload-listings/div/div[2]/div', uploadSuccessfulText:...
macDetailCallback("6c0b84000000/24",[{"d":"2014-07-29","t":"add","a":"141, Lane 351, TaiPing Road, Sec.1\nTsao-Tuen Nan-Tou 54261\n\n","c":"TAIWAN, PROVINCE OF CHINA","o":"Universal Global Scientific Industrial Co.,Ltd."},{"d":"2015-08-27","t":"change","a":"141, Lane 351, TaiPing Road, Sec.1\nTsao-Tuen Nan-Tou 5426...
/* * @flow strict-local * Copyright (C) 2020 MetaBrainz Foundation * * This file is part of MusicBrainz, the open internet music database, * and is licensed under the GPL version 2, or (at your option) any * later version: http://www.gnu.org/licenses/gpl-2.0.txt */ import * as React from 'react'; import bugTra...
//Script copyright (c) 2005 BR Fletcher & R Williams //Portions of the code in this file are from www.quirksmode.org //BUILD 8/12/2005 11:18AM /*onscreen, */ /*the valid vertical positions for notes. element 0 is top G, element 1 is F below top G. This is used to lock the notes to the nearest line or space in the st...
/*! WebUploader 0.1.5 */ /** * @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。 * * AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。 */ (function( root, factory ) { var modules = {}, // 内部require, 简单不完全实现。 // https://github.com/amdjs/amdjs-api/wiki...
// Last updated April 28, 2019. var SHOPIFY_APPS = [ { name: 'Fera.ai', // Keep this under 20 characters short_description: 'Customer reviews, photos, counters, events, etc', // Keep this under 75 characters long_description: 'Collect and grow your customer reviews, photos, videos, testimon...
$(function () { $("#jqGrid").jqGrid({ url: '/admin/carousels/list', datatype: "json", colModel: [ {label: 'id', name: 'carouselId', index: 'carouselId', width: 50, key: true, hidden: true}, {label: '轮播图', name: 'carouselUrl', index: 'carouselUrl', width: 180, formatte...
import React from "react" import styled from "@emotion/styled" import ShellWrapper from "./ShellWrapper" import { palette, breakpoints, spacings } from "../utils/variables" const SplitWrapper = ({ children }) => ( <Wrapper> <FlexWrapper>{children}</FlexWrapper> </Wrapper> ) export const Wrapper = styled.div` ...