text
stringlengths
2
1.04M
import React from 'react'; import content from '../../content/about.yaml'; import Team from './team'; function isEven(number) { return number % 2 === 0 } export default () => ( <section id="about"> <div className="row section-head"> <div className="twelve columns"> <h1>{con...
/*______________ | ______ | U I Z E J A V A S C R I P T F R A M E W O R K | / / | --------------------------------------------------- | / O / | MODULE : Uize.Widgets.DigitalClock.Hm.VisualSampler Class | / / / | | / / / /| | ONLINE : http://www.uize.com | /____/ /__...
// @flow import { companyTypeCrudRoute } from './companytype.route'; import { getCompanyTypeModel } from './companytype.mongo'; import { Module, getRegistrySingleton } from 'singleton-module-registry'; export const registerCompanyTypeModule = (): Module => { const registry = getRegistrySingleton(); const { env, mo...
jQuery(document).ready(function($){ $('.mfn-icon-select .mfn-icon').click(function(){ var field = $(this).closest('.mfn-icon-field'); var input = field.find('.mfn-icon-input'); var icon = $(this).attr('data-rel'); $(this).siblings().removeClass('active'); $(this).addClass('active'); input.val( i...
require('./bootstrap'); window.Vue = require('vue').default; import VueRouter from 'vue-router'; import filter from './filter.js'; Vue.use(VueRouter); // V form import { Form, HasError, AlertError } from 'vform'; window.Form = Form; Vue.component(HasError.name, HasError); Vue.component(AlertError.name, AlertError); ...
// Copyright (c) 2015 - 2018 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify...
var dest = './build', src = './src', mui = './node_modules/material-ui/src'; module.exports = { browserSync: { server: { // We're serving the src folder as well // for sass sourcemap linking baseDir: [dest, src] }, files: [ dest + '/**' ] }, markup: { src: src + "/...
const initialState = { data: "", isFetching: false, error: "" } export const sellerReducer = (state = initialState, action) => { switch (action.type) { // Fetching Current Auctions case "FETCH_AUCTIONS_START": // console.log("State in reducer: ", state) return { ...
import Actions, { reducer, INITIAL_STATE } from '../redux' it('creates', () => { const state = reducer(INITIAL_STATE, Actions.participantCreate()) expect(state.fetching).toBe(true) expect(state.payload).toBe(null) }) test('requests', () => { const state = reducer(INITIAL_STATE, Actions.participantRequest('dat...
/*! * Bootstrap modal.js v5.0.0-beta3 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ (function (global, factory) { typeof exports === 'object' && typeo...
/** An Editing Panel for Tracts * */ import React from 'react'; class EditPanel extends React.PureComponent { constructor(props) { super(props); this.state = {feature: null}; } renderColorOption(onclick, color, selected) { let class_names = 'color-control'; if (selected === true) { cl...
const { join } = require('path'); module.exports = [{ entry: './src/index.ts', module: { rules: [{ test: /\*.tsx?$/, use: 'ts-loader', }], }, resolve: { extensions: ['.tsx', '.ts', '.js'], }, output: { filename: 'index.js', path: join(__dirname, 'dist') } }, { entry: './...
module.exports = { EMAIL_SUBJECT_FORGET_PASS : "Reset Password", // Error Messages INTERNAL_ERROR : "There was an internal server error, please contact to the software administrator !", NOT_FOUND : "There was an error due to requested url ...
import Auth0Lock from 'auth0-lock'; import axios from 'axios'; import jwtDecode from 'jwt-decode'; import AUTH_CONFIG from './auth0ServiceConfig'; class Auth0Service { sdk = { auth0Manage: null }; init(success) { if (Object.entries(AUTH_CONFIG).length === 0 && AUTH_CONFIG.constructor === Object) { if (process....
Ext.define('Magice.Info.view.Controller', { extend: 'Ext.app.ViewController', alias: 'controller.info', locale: { invalidForm: { title: 'Error!', message: 'Please fullil the form.' } }, getInfoRecord: function() { return this.getViewModel().get('infoData'); }, getFormSessionInfo: f...
'use strict'; (function() { var chartsDataVersion = 'na'; var chartsData; var googleChartsLoaded; var chart; function onGoogleChartsLoaded () { googleChartsLoaded = true; buildGoogleCharts(); } function dateToString(d){ return (d.toISOS...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.3/esri/copyright.txt for details. //>>built define(["../core/declare","../core/screenUtils","./Symbol"],function(c,b,d){return c(d,{declaredClass:"esri.symbols.MarkerSymbol",properties:{angle:{value:0,json:{r...
import { degtorad } from "./utilities.js"; // Borrows quite heavily from the Pathfinder 1e system by Furyspark. export default function() { const _templateLayerOriginalOnDragLeftStart = TemplateLayer.prototype._onDragLeftStart; TemplateLayer.prototype._onDragLeftStart = function (event) { if (!game.set...
import React from 'react'; import { Link, useHistory } from 'react-router-dom'; import { Button, Dropdown, Menu } from 'antd'; import { CountDown } from 'ant-design-pro/lib/CountDown'; import { MenuOutlined } from '@ant-design/icons'; import { connect } from 'react-redux'; import { global } from '../../state/actions';...
import React, { Component } from 'react'; import Modal from '../components/Modal' import imagePathHelper from '../components/helper/imagePathHelper' class CaseStudiesCard extends Component { constructor(props) { super(props); this.state = { isShowModal : false } this.s...
import * as calculate from "./calculate"; describe("Helper functions", () => { it("Sum all income input from object", () => { const income = { year1: 420, year2: 42, year3: 69, }; expect(calculate.totalIncome(income)).toBe(531); }); it("Calculate benefits per day", () => { expe...
const puppeteer = require("puppeteer"); const url = (process.env.STORYBOOK_URL || "http://localhost:9001") + "/iframe.html"; const filter = process.env.STORY; function getStories(url, filter) { // only for storybook >= 5.2 // might need to be changed with storybook 6.x const clientAPI = window.__STORYBOOK_CLIEN...
// This class was generated on Tue, 24 Jul 2018 10:52:09 PDT by version 0.1.0-dev+0ee05a-dirty of Braintree SDK Generator // refundsGetRequest.js // @version 0.1.0-dev+0ee05a-dirty // @type request // DO NOT EDIT 'use strict'; const querystring = require('querystring'); // eslint-disable-line no-unused-vars /** Shows...
import React, { useState, useEffect } from 'react'; import Radio from '@iso/ui/Antd/Radio/Radio'; import DragAndDropUploader from '@iso/ui/ImageUploader/DragAndDropUploader'; import Checkbox from '@iso/ui/Antd/Checkbox/Checkbox'; import Text from '@iso/ui/Text/Text'; export const RadioGroupComp = ({ field, form, ...pr...
#!/usr/bin/env node const natural = require("natural"); const fs = require("fs"); require("yargs") .scriptName("natural-classifier") .usage("$0 <cmd> [args]") .command("train bayes <datafile> <outputfile>", "train classifier and output it to file", (yargs) => { yargs.positional("datafile", { type: "st...
// TODO: Write code to define and export the Manager class. HINT: This class should inherit from Employee. // In addition to `Employee`'s properties and methods, `Manager` will also have: // * officeNumber // * getRole() // Overridden to return 'Manager const Employee = require("./Employee"); class Manager extend...
var loopback = require('loopback'); var ds = loopback.createDataSource("mysql", { "database": "rikki-tikki", "username": "rt-test", "password": "<%qI=dozA95W#(o", "name": "mysql", "connector": "mysql" }); // Discover and build models from INVENTORY table ds.discoverModelDefinitions({views: true, schema:'rikki-t...
load('api_zthing.js'); let ZenButton = { _crt: ffi('void *mgos_zbutton_create(char *, void *)'), _ispr: ffi('bool mgos_zbutton_is_pressed(void *)'), _pdget: ffi('int mgos_zbutton_press_duration_get(void *)'), _pcget: ffi('int mgos_zbutton_press_counter_get(void *)'), _rst: ffi('void mgos_zbutton_reset(void *...
require('../dist/pleasantalert') require('../dist/pleasantalert.all')
/* * * PurchaseComplete constants * */ export const FETCH_ORDERLIST = 'app/PurchaseComplete/FETCH_ORDERLIST'; export const PASS_ORDERLIST = 'app/PurchaseComplete/PASS_ORDERLIST'; export const MAKE_IT_ARRIVE = 'app/ShoppingCart/MAKE_IT_ARRIVE'; // export const TELL_EM_IT_ARRIVED = 'app/ShoppingCart/TELL_EM_IT_ARRIV...
/* eslint import/no-extraneous-dependencies:0 */ /** * Created by scott on 16-3-8. */ 'use strict' const expect = require('chai').expect const loader = require('../lib/configLoader') describe('#Config file loader test', function () { describe('test with only default config file', function () { beforeEac...
import ReactionError from "@reactioncommerce/reaction-error"; import mergeModifierGroupItems from "../util/mergeModifierGroupItems.js"; /** * @method addModifierGroupItems * @summary Adds a list of products into a modifier group * @param {Object} context - an object containing the per-request state * @param {Objec...
window._ = require('lodash'); /** * We'll load jQuery and the Bootstrap jQuery plugin which provides support * for JavaScript based Bootstrap features such as modals and tabs. This * code may be modified to fit the specific needs of your application. */ try { window.Popper = require('popper.js').default; ...
import constants from '../constants' var initialState = { user: null } export default (state = initialState, action) => { let updated = Object.assign({}, state) switch (action.type){ case constants.CURRENT_USER_RECEIVED: // console.log('CURRENT_USER_RECEIVED: ' + JSON.stringify(action.user)) updated['user'...
/** * Created by yotam on 21/06/2017. */ var DAO = require('./../services/data-access-service'); var geoLocationsModel = DAO.con.model('geos', { }); module.exports = geoLocationsModel;
var nargs = /\{([0-9a-zA-Z_]+)\}/g module.exports = template function template(string) { var args if (arguments.length === 2 && typeof arguments[1] === "object") { args = arguments[1] } else { args = new Array(arguments.length - 1) for (var i = 1; i < arguments.length; ++i) { ...
/* | A single widget marked ( without caret or range ) */ 'use strict'; tim.define( module, ( def ) => { def.extend = './base'; if( TIM ) { def.attributes = { // trace to the widget trace : { type : '../trace/widget' }, }; } /* | Returns true if this mark encompasses the trace. */ def.proto.encompasses = ...
// *********************************************** // This example commands.js shows you how to // create various custom commands and overwrite // existing commands. // // For more comprehensive examples of custom // commands please read more here: // https://on.cypress.io/custom-commands // ***************************...
/** * @type {Object.<string, string>} * @property {string} fontsize returns px value */ const fontSize = { micro: '10px', xsmall: '12px', tiny: '14px', small: '16px', default: '18px', medium: '20px', large: '24px', xlarge: '30px', xxlarge: '36px', jumbo: '42px', }; /** * @typ...
function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(t)}export default function t(){for(var r=arguments.length,n=new Array(r),e=0;e<r;e++)n[e]=argu...
let bird = { name: "Donald", numLegs: 2, }; let boat = { name: "Warrior", type: "race-boat", }; // Add your code below this line const glideMixin = (obj) => { obj.glide = () => { console.log("glide from glideMixin"); }; }; glideMixin(boat); glideMixin(bird);
const {User} = require('../models'); module.exports = { async register (req,res) { try{ const user = await User.create(req.body); res.send(user.toJSON()) }catch(e){ console.log(e); res.status(400).send({ error: 'This email account is ...
// Rollup Replace plugin will inject values. export const config = { apiKey: '<@FIREBASE_API_KEY@>', authDomain: '<@FIREBASE_PROJECT_ID@>.firebaseapp.com', databaseURL: 'https://<@FIREBASE_PROJECT_ID@>.firebaseio.com', projectId: '<@FIREBASE_PROJECT_ID@>', storageBucket: '<@FIREBASE_PROJECT_ID@>.appspot.com',...
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const marked = require('marked'); module.exports = { entry: ['./src/index.tsx'], module: { rules: [ { test: /\.(sa|sc|c)ss$/, exclude: /node_modules/, use: [ { loader: MiniCssExtractPlugin.loader, options: { hmr...
(function() { 'use strict'; /** * Declare and configure modules */ angular.module('ag-admin', [ 'ui.bootstrap', 'ui.router', 'ngSanitize', 'ngTagsInput', 'angular-flash.service', 'angular-flash.flash-alert-directive', 'ui.sortable', 'ui.select2', 'toggle-switch' ]).con...
import React, { useState } from 'react'; import { filterTribalPrograms, getGeographicData } from './utils.js'; import Filters from './Filters.js'; import Results from './Results.js'; import PropTypes from 'prop-types'; function RentalAssistanceFinder( props ) { const [ state, setState ] = useState( '' ); const [ t...
import React, { Component } from "react"; import { Row } from "reactstrap"; class Dashboard extends Component { constructor(props) { super(props); this.toggle = this.toggle.bind(this); this.onRadioBtnClick = this.onRadioBtnClick.bind(this); this.state = { dropdownOpen: false, radioSelec...
// Required node packages const inquirer = require("inquirer"); const fs = require("fs"); const util = require("util"); // Required files const mainHTML = require("./template-main"); const engineerHTML = require("./template-engineer"); const internHTML = require("./template-intern"); const Manager = require("./Manage...
let path = require('path'); let fs = require('fs'); module.exports = { 'init': function(browser) { browser .url('file://' + path.join(__dirname, 'index.html')) .waitForElementVisible('body', 1000) .end(); } };
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, (global.FullCalendarLocales = global.FullCalendarLocales || {}, global.FullCalendarLocales.de = f...
/* stylelint-disable no-descending-specificity */ import styled from "styled-components"; import { DownIcon } from "../../Icons"; import KeyBoardProvider from "../../KeyboardNavigation/Provider"; import { constants, zIndex, typography } from "../../../theme"; import getThemeValue from "../../../utils/getThemeValue"; ...
export {default as BriefRequestCard} from './BriefRequestCard'; export {default as MainRequestCard} from './MainRequestCard'; export {default as RankRequestCard} from './RankRequestCard'; export {default as RequestEditManage} from './RequestEditManage'; export {default as EditableRequestCard} from './EditableRequestCar...
const AdvectionManualFilteringShader=` precision highp float; precision mediump sampler2D; varying vec2 vUv; uniform sampler2D uVelocity; uniform sampler2D uSource; uniform vec2 texelSize; uniform float dt; uniform float dissipation; vec4 bilerp (in sampler2D sam, in vec2 p) { vec4 st; st.xy = floor(p - 0.5) ...
import { deepStrictEqual } from 'assert'; import { init , NgNightmare } from '../utils'; let nightmare = null; describe('single array property', async function () { this.timeout('60s'); beforeEach(async () => { nightmare = new NgNightmare(); await init(nightmare, __dirname); }); it('should validate a...
import { TextBox, TextBoxVertical } from './textbox'; import { input } from '../variables'; // // DISCLAIMER: // Do not change this file because it is core styling. // Customizing core files will make updating Atlas much more difficult in the future. // To customize any core styling, copy the part you want to customiz...
$(function () { //Datetimepicker plugin $('.datetimepicker').bootstrapMaterialDatePicker({ format: 'dddd DD MMMM YYYY - HH:mm', clearButton: true, weekStart: 1 }); $('.datepicker').bootstrapMaterialDatePicker({ format: 'dddd DD MMMM YYYY', clearButton: true, ...
/* eslint-env node, mocha */ /* eslint-disable global-require */ describe('Statement', () => { require('./prepare.js'); require('./bind.js'); require('./execute.js'); require('./close.js'); });
import './ohlc_values_in_list' import './read_ohlc_obj' import './is_candle_black'
import React, { PureComponent } from "react"; import cls from "classnames"; import PropTypes from "prop-types"; import Input from "../input"; const DEFAULT_POINT = "."; const DEFAULT_DECIMAL = 2; export const getCleanString = (str = "") => { return str.toString().replace(/[^\d|\\.]/g, ""); }; export const getTheVal...
deepmacDetailCallback("40d8550e3000/36",[{"a":"Omer Industrial Park,Building 7A Omer IL 8496500","o":"Medigus Ltd","d":"2013-04-28","t":"add","s":"ieee","c":"IL"}]);
class PhraseExtraction { get_top_phrases(_list_text, top_n, remove_these){ var common = "poop,i,me,my,myself,we,us,our,ours,ourselves,you,your,yours,yourself,yourselves,he,him,his,himself,she,her,hers,herself,it,its,itself,they,them,their,theirs,themselves,what,which,who,whom,whose,this,that,these,those,am,is,a...
import styled from 'styled-components'; // export const StyledApp = styled.div` // display: flex; // width: 100% // ` export const StyledApp = styled.div` background: #181212 // display: flex; // width: 100%; // justify-content: center; // flex-direction: colu...
// Exercise: summing numbers using reduce // // 1) rewrite the exported function using reduce() // // NOTE: you do not need to adapt the test-case // HINT: filter(fnFilter), reduce(fnReducer) export function sum(numbers) { let sum = 0; for (let index in numbers) { let num = numbers[index] if (num && typeof...
'use strict' /** * @module command-line-commands * @example * const commandLineCommands = require('command-line-commands') */ module.exports = commandLineCommands /** * Parses the `argv` value supplied (or `process.argv` by default), extracting and returning the `command` and remainder of `argv`. The command will...
// @flow import { createSelector, } from 'reselect'; import type { Id, BoardsResources, Board, SprintsResources, Project, } from 'types'; import { getResourceMap, getResourceMappedList, } from './resources'; import { getUiState, } from './ui'; export const getCurrentProjectId = createSelector( [...
/** * Copyright 2021 Splunk 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 to i...
import api from '@oj/api' import ScreenFull from '@admin/components/ScreenFull.vue' import { mapGetters, mapState } from 'vuex' import { types } from '@/store' import { CONTEST_STATUS } from '@/utils/constants' export default { components: { ScreenFull }, methods: { getContestRankData (page = 1, refresh ...
import {PolymerElement} from '@polymer/polymer/polymer-element.js'; import {html} from '@polymer/polymer/lib/utils/html-tag.js'; import './client-side-component.js'; class NpmThemedComponent extends PolymerElement { static get template() { return html` <div id="non-themed">Non Themed Component</div> ...
/* 哔哩哔哩大会员特权领取-lowking-v1.0 ⚠️注意,本月领取过如果再执行,会提示"网络繁忙"。由于每个月一次,未验证Cookie存活时间 按下面配置完之后,手机哔哩哔哩点击我的-我的大会员-卡券包,领取一张券获取Cookie hostname = *.bilibili.com ************************ Surge 4.2.0+ 脚本配置: ************************ [Script] # > 哔哩哔哩大会员特权领取 哔哩哔哩大会员特权领取cookie = type=http-request,pattern=https:\/\/api.bilibili.com\/x...
/* Language: Matlab Author: Denis Bardadym <bardadymchik@gmail.com> Contributors: Eugene Nizhibitsky <nizhibitsky@ya.ru> Category: scientific */ function (hljs) { var COMMON_CONTAINS = [ hljs.C_NUMBER_MODE, { className: 'string', begin: '\'', end: '\'', contains:...
const webpack = require('webpack') const path = require('path') module.exports = { context: path.resolve(__dirname, 'src'), entry: './index.js', output: { path: path.resolve(__dirname, 'dist'), filename: 'link.js', library: 'Link', libraryTarget: 'umd', libraryExport: 'default' }, module:...
const errors = [ { } ]; module.exports = (ruleTester, rule) => ruleTester.run('prefer-string-slice', rule, { valid: [ 'foo.slice()', 'foo.slice(0)', 'foo.slice(1, 2)', 'foo.slice(-3, -2)', ], invalid: [ { code: 'foo.substr()', output: 'foo.slice()', errors, }, { code: '"foo".substr()', ...
function targetWidths() { const resolutions = []; let prev = 100; const INCREMENT_PERCENTAGE = 8; const MAX_SIZE = 8192; const ensureEven = n => 2 * Math.round(n / 2); resolutions.push(prev); while (prev <= MAX_SIZE) { prev *= 1 + (INCREMENT_PERCENTAGE / 100) * 2; resolutions.push(ensureEven(pre...
import Promise from "bluebird"; import { saveAuth as authBody } from "./jwt"; import requests from "./requests"; import SessionManager from "./authSession"; export const Rooms = { getRooms: () => requests.get("/rooms"), createRoom: room => requests.post("/rooms", { roomName: room }) }; export const Users = { ge...
(function () { 'use strict'; angular.module('tweet-pa-more.modules', [ 'tweet-pa-more.resources', ]); })();
'use strict'; var lazyReq = require('lazy-req')(require); var request = lazyReq('request-promise'); var minimatch = lazyReq('minimatch'); var rsync = lazyReq('./rsync'); module.exports = function(gulp, gutil) { var ENDPOINT_PATTERN_MAP = { 'skins/images': ['**/skins/**/images/**'], skins: ['**/skins/**'], ...
// This file was generated by purescript-docs-search
(function () { 'use strict'; const validateRooster = function (rooster) { if (rooster && rooster.roosterContainer && rooster.roosterEditor === false) { throw new Error('Expected valid Rooster reference.'); } }; const setDisabledHelper = function (rooster, disabled) { ...
import { applyMiddleware, combineReducers } from 'redux' import { db } from 'baqend/realtime' import { createStoreWithBaqend, baqendReducer } from 'redux-baqend' import middlewares from '../middleware' import reducers from '../reducers/index_modules' const createStore = (initialState = {}) => { const reducer = co...
import { extend } from 'flarum/extend'; import DiscussionComposer from 'flarum/components/DiscussionComposer'; import AddRecipientModal from './AddRecipientModal'; export default class PrivateDiscussionComposer extends DiscussionComposer { init() { super.init(); this.chooseRecipients(); co...
/*! * Start Bootstrap - SB Admin 2 v3.3.7+1 (http://startbootstrap.com/template-overviews/sb-admin-2) * Copyright 2013-2016 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */ $(function() { $('#side-menu').metisMenu(); }); //Loads the correct side...
exports.run = function (req, res) { res.writeHead(302, {'Location': 'http://goatse.bz/goatse.jpg'}); res.end(); };
import {actions} from "mirrorx"; // 引入services,如不需要接口请求可不写 import * as api from "./service"; // 接口返回数据公共处理方法,根据具体需要 /** * processData : 调用service.js中的请求数据的承接 * deepClone : 克隆当前指定对象的数据 通常用于数据更新 */ import {processData,deepClone} from "utils"; //同一处理主子表赋值方法,防止后台异常捕获失败 import {consoleData} from "utils/service"; expor...
describe('.constructor(cb, o)', function() { it('first argument is selector', function() { var cropbox = new Cropbox('#plugin'); expect(cropbox).to.be.instanceOf(Cropbox); }); /** * @since 0.10.0 */ it('arguments: the selector and options', function() { var variants = [...
$(document).ready(function(){ $("select[name=status]").change(function(){ $(".wrap_search").submit(); }) $(".remove").click(function(){ var id = $(this).attr("data"); var callback = { 'ok':function(){ $.ajax({ url:common_ops.buildWebU...
/* eslint-disable strict */ module.exports.foo = function () { return 42 }; module.exports.bar = function () { return 85; };
import React, { Component } from 'react' import Img from 'gatsby-image' import { Link } from 'gatsby' export default class LatestBlogs extends React.Component { render() { const { data } = this.props return ( <div className="container"> <div className="text-center"> <h2 className="wi...
questions = [ {"id": 0, "question": "Do you agree that free markets and freedom of business the best way a society can progress in?", "effects": {"right": 1}}, {"id": 1, "question": "Do you agree that charity is preferable and/or more beneficial than state-sanctioned welfare?", "effects": {"right": 1}}, {"...
// 325d937 | https://github.com/beautify-web/js-beautify/blob/master/js/src/unpackers/myobfuscate_unpacker.js // simple unpacker/deobfuscator for scripts messed up with myobfuscate.com // You really don't want to obfuscate your scripts there: they're tracking // your unpackings, your script gets turned into something ...
import click from './click'; import drag from './drag'; import link from './link'; import msg from './msg'; import tel from './tel'; import topage from './topage'; // import hideshow from './hideShow'; // import playsound from './playsound'; // import shake from './shake'; const eventset = [click, link, drag, ms...
var bl = require('bl') , inherits = require('inherits') , EE = require('events').EventEmitter , Packet = require('./packet') , constants = require('./constants') function Parser() { if (!(this instanceof Parser)) { return new Parser() } this._list = bl() this._newPacket() this...
var Component = require("ui/component").Component, Promise = require("core/promise").Promise, application = require("core/application").application, Map = require("collections/map"), Montage = require("montage").Montage; /** * @class Main * @extends Component */ exports.AuthorizationManagerPanel = ...
var myDropzone = []; var comicUploads = []; var baseUrl = "http://localhost/TubesWebPro/"; function removeAllDropzone() { if (myDropzone != null) { $.each(myDropzone, function(index, e) { e.destroy(); }); myDropzone.length = 0; } } function concatData(unconcated){ return [].concat.apply([], un...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const vehicles_1 = require("./vehicles"); const simple_api_1 = require("./simple-api"); const express = require("express"); class App { static get port() { return 3000; } static init() { switch (process.argv[2]) { c...
import React from 'react'; import PropTypes from 'prop-types'; import { StyleSheet, useWindowDimensions } from 'react-native'; import Modal from 'react-native-modal'; const styles = StyleSheet.create({ root: { justifyContent: 'flex-end', margin: 0, }, }); const BottomModal = ({ onBackButtonPress, onBackdr...
var NextId=1,Custom="Custom",GoogleCheckout="GoogleCheckout",PayPal="PayPal",Email="Email",AustralianDollar=AUD="AUD",CanadianDollar=CAD="CAD",CzechKoruna=CZK="CZK",DanishKrone=DKK="DKK",Euro=EUR="EUR",HongKongDollar=HKD="HKD",HungarianForint=HUF="HUF",IsraeliNewSheqel=ILS="ILS",JapaneseYen=JPY="JPY",MexicanPeso=MXN="M...
import React from 'react'; const ProductDetails = ({ details }) => { // Convert Data from CMS to list items // Output: [['exampleProperty1'],[value1]...] const listItems = details .replace(/\n/g, '') .split('* ') .slice(1) .map(el => el.split(':')); return ( <ul className="w-full text-cent...
const cloud = require('wx-server-sdk') cloud.init({ env: cloud.DYNAMIC_CURRENT_ENV }) // 获取openId云函数入口函数 exports.main = async (event, context) => { // 获取基础信息 const wxContext = cloud.getWXContext() return { openid: wxContext.OPENID, appid: wxContext.APPID, unionid: wxContext.UNIONID } }
'use strict' import EFunction from '../../../../../arslib/enhancements/e-function.js' import TimeToLive from '../TimeToLive.js' //decrease opacity and die export default function Fade (fadingTime, startRightAway) { fadingTime = fadingTime || 2000 fadingTime = (fadingTime<1000)? 1000 : fadingTime //1 sec min //...
'use strict'; const RemoveBackground = require('../scripts/removeBackground'); const replyWithError = require('../scripts/replyWithError'); const checkSubscription = require('../scripts/checkSubscription'); const updateTokens = require('../database/updateTokens'); const replyWithFile = require('../scripts/replyWithFil...