text
stringlengths
2
1.04M
export default async function getQuestions({title, content, categories, token, isNewQuestion = false, page = `1`}){ //console.log('GETQUESTIONS', page); const login_url = `https://hikmahsessions.com/control-panelz/wp-json/iman-shield/v1/questions?page=${page}`; if (isNewQuestion){ const login_data ...
class Node { constructor(value) { this.value = value; this.next = null; } } module.exports = Node;
import React from 'react' export default function Kitchens({ params }){ const { images } = params const renderImages = images.map(img => ( <div className="col-lg-3 text-center"> <img width="100%" height="100%" src={img.default} /> <div className="mt-1 fst-italic kitchenType"> <h2>Kitchen Na...
import React from "react"; import { withStyles } from "@material-ui/core/styles" import Dialog from "@material-ui/core/Dialog"; import Button from "@material-ui/core/Button"; import DialogContent from "@material-ui/core/DialogContent"; import DialogActions from "@material-ui/core/DialogActions"; import {t} from "../ut...
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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 a...
class PlayerArrow { constructor(x, y, width, height, archerAngle) { var options = { isStatic: true, density: 0.1 }; this.width = width; this.height = height; this.body = Bodies.rectangle(x, y, this.width, this.height, options); this.image = loadImage("./assets/arrow.png"); this...
/* ----------------------------------------------- /* How to use? : Check the GitHub README /* ----------------------------------------------- */ /* To load a config file (particles.json) you need to host this demo (MAMP/WAMP/local)... */ /* particlesJS.load('particles-js', 'particles.json', function() { console.log...
const path = require('path'); const Koa = require('koa'); const { webViews, BrowserWindow } = require('deskgap'); const { spawn } = require('child_process'); const { once } = require('events'); class DeskGapProcessError extends Error { constructor(result) { super(`The DeskGap instance exited with a non-ze...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ 'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === '...
const { Message, MessageEmbed } = require('discord.js'); const Bot = require('../../../index'); const { promptMessage } = require('../../handlers/functions'); const { economy } = require('../../handlers/databases'); module.exports = { name: 'reseteconomy', aliases: ['reset', 'reset-economy', 'resetserver', 're...
const path = require(`path`) //****************************** //A) Create pages for every single project //************************ ******/ const turnProjectsIntoPages = async ({ graphql, actions }) => { const { createPage } = actions //1)Get template for the projects page const projectTemplate = path.r...
import React from 'react'; import { createStackNavigator } from '@react-navigation/stack'; import { ScanList } from './ScanList'; import { Scan } from './Scan'; import { Details } from './Details'; import { headerTitleBarStyle } from "../components/styles"; export function ScanTab() { let Stack = createStackNavigato...
dojo.provide("dojox.gfx.tests.module"); try{ dojo.require("dojox.gfx.tests.matrix"); dojo.require("dojox.gfx.tests.decompose"); doh.registerUrl("GFX: Utils", dojo.moduleUrl("dojox", "gfx/tests/test_utils.html"), 3600000); doh.registerUrl("GFX: Base", dojo.moduleUrl("dojox", "gfx/tests/test_base.html"), 3600000); ...
const router = require("express").Router(); const homeRoutes = require("./home-routes.js"); const dashboardRoutes = require("./dashboard-routes.js"); const apiRoutes = require("./api"); router.use("/", homeRoutes); router.use("/dashboard", dashboardRoutes); router.use("/api", apiRoutes); router.use((req, res) => { ...
import fs from 'fs' import path from 'path' import parser from '../src/parser' describe.only('run parser on JSX file', () => { let file = null beforeAll(() => { file = fs.readFileSync(path.resolve(__dirname, 'examples', 'jsx.js'), { encoding: 'UTF-8', }) }) test.only('to test, the translations...
$traceurRuntime.options.symbols = true; { var Iterator = $traceurRuntime.initTailRecursiveFunction(function(val) { return $traceurRuntime.call(function(val) { var proto = Object.create(null); proto[$traceurRuntime.toProperty(Symbol.iterator)] = { enumerable: true, configurable: true, ...
import PropTypes from 'prop-types' import styled from 'styled-components' import { themeOr } from 'lib/theme' export const Label = styled.label` font-family: ${themeOr('font', 'primary')}; font-size: 1rem; line-height: 2em; ` Label.propTypes = { reverse: PropTypes.bool }
import mongoose from 'mongoose' import crypto from 'crypto' const SellerSchema = new mongoose.Schema({ name: { type: String, trim: true, required: 'Name is required' }, email: { type: String, trim: true, unique: 'Email already exists', match: [/.+@.+..+/, 'Please fill a valid email ...
/** * Implement Gatsby's Node APIs in this file. * * See: https://www.gatsbyjs.org/docs/node-apis/ */ const path = require(`path`); const slash = require(`slash`); exports.createPages = ({ graphql, actions }) => { const { createPage } = actions; // we use the provided allContentfulBlogPost query to fetch the ...
/** * 最长上升子序列 LIS * 给定长度为n的序列a, 从a中抽取出一个子序列,这个子序列需要单调递增.问最长的子序列(LIS)的长度是 * eg: [ 1, 5, 3, 4, 6, 9, 7, 8]的LIS为 [ 1, 3, 4, 6, 7, 8], 长度为6 * * DP两个性质: * 1.无后效性: "未来与过去无关", 某个阶段的状态之后的发展过程不受这个阶段以前的各个状态影响 * 2.最优子结构: 大问题的最优解可以由小问题的最优解退出 * * 设计DP算法的关键 * 1.设计当前局面的状态 * 2.找出所需答案与哪些局面有关, 然后求出状态转移方程 * 3.根据得到的状态转移方程设计...
/* global document */ /* eslint import/first: 0 */ import './utils/rxjs'; import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { Router, Route, useRouterHistory, IndexRedirect, applyRouterMiddleware, } from 'react-router'; import createHistory from 'hist...
'use strict' const fs = require('fs') const path = require('path') const utils = require('./utils') const assert = require('assert') const ini = require('ini') const os = require('os') describe('uninstall datreeio', function() { it('.lockfile should not exist', function() { assert( !utils.isFileSync(path.j...
/* * Copyright 2021 Adobe. All rights reserved. * This file is licensed to you 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 appli...
"use strict"; process.env.BABEL_DISABLE_CACHE = 1; require("@babel/register");
const crypto = require('crypto') const Sequelize = require('sequelize') const db = require('../db') const User = db.define('user', { firstName: { type: Sequelize.STRING, allowNull: false, validate: { notEmpty: true } }, lastName: { type: Sequelize.STRING, allowNull: false, valid...
/** * Test to ensure that dropIndexes fails on a drop-pending collection. * @tags: [ * multiversion_incompatible, * ] */ (function() { "use strict"; load("jstests/replsets/libs/two_phase_drops.js"); // For TwoPhaseDropCollectionTest. // Set up a two phase drop test. let testName = "drop_collection_two_phas...
console.log('hello from main.js');
// engine.js // hacky code for now, will be pretty eventually function render(data) { var ul = $('#circleList'); for (var i = 0; i < data.length; i++) { // only sites with 4 colors // they look nicer :) if (data[i].count && data[i].count.length < 5) { continue; } // mess the numbers to th...
import store from '@/store' /** * 判断用户是否拥有操作权限 * 根据传入的权限标识,查看是否存在用户权限标识集合 * @param perms */ export function hasPermission(perms) { let hasPermission = false; const permissions = store.state.user.perms; for (let i = 0, len = permissions.length; i < len; i++) { if (permissions[i] === perms) { hasPermi...
/** * Created by Jamie on 17/03/2017. */ var countries = [ { "country": "AD", "latitude": 42.546245, "longitude": 1.601554, "name": "Andorra" }, { "country": "AE", "latitude": 23.424076, "longitude": 53.847818, "name": "United Arab Emirates"...
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var path = _interopDefault(require('path')); var WORKER_PLUGIN_SYMBOL = _interopDefault(require('./symbol.js')); var ParserHelpers = _interopDefault(require('webpack/lib/ParserHelpers')); /** * Copyrigh...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you ...
import { SIGN_IN_REQUEST, GET_SESSION, SIGN_OUT, GET_USERS_LIST, GET_USER_INFO, GET_MY_PROFILE, ADD_USER, UPDATE_USER, UPDATE_USER_N_REDIRECT, REMOVE_USER, } from '../../../redux/actions/types'; import usersReducer from '../../../redux/reducers/users.reducer'; jest.setTimeout(30000); describe('Tests for Users r...
// @flow import prettify from '@emotion/css-prettifier' import { replaceClassNames } from './replace-class-names' import * as enzymeTickler from './enzyme-tickler' import { getClassNamesFromNodes, isReactElement, isEmotionCssPropElementType, isEmotionCssPropEnzymeElement, isDOMElement, getStylesFromClassNam...
'use strict'; let match = process.env.SQS_CALLBACK.match(/sqs\.(.+)\.amazonaws\.com/); const region = match && match[1]; const sqs = new (require('aws-sdk')).SQS({region: region}); const Q = require('q'); const mimes = require('./mimes'); module.exports = class UploadedFile { constructor(audioEvent) { this.id ...
/** * DevExtreme (cjs/renovation/ui/pager/pages/small.js) * Version: 21.2.5 * Build date: Mon Jan 17 2022 * * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; exports.viewFunction = exports.PagesSmal...
comprehensiveSequenceTest('first', { cases: [ { input: [1, 2, 3, 4, 5], params: [3], result: [1, 2, 3] } ], aliases: ['head', 'take'] }); describe("take", function() { it("doesn't prematurely get the first element when given 0", function() { expect(Lazy.generate(function (i) {ret...
/* $(document).on('pageInit', '.page[data-page="index"]', function(e){ console.log("I am here"); //676666666666666666666 }).trigger(); */ // Initialize your app var myApp = new Framework7( { material: true,} ); // Export selectors engine var $$ = Dom7; var baseURL = 'http://safir.mdawaina.com/'; //va...
import React, {useState, useEffect} from 'react'; import {Line} from 'react-chartjs-2'; import { Header, Container, Menu, Dropdown, Button, Icon, } from 'semantic-ui-react'; import './App.css'; const crimeTypeOptions = [ { label: 'crimes', value: 'crimes', }, { label: 'traffic incidents'...
module.exports = { roots: ['<rootDir>/src'], transform: { '^.+\\.tsx?$': 'ts-jest', }, testRegex: '/__tests__/.*\\.(test|spec)\\.[jt]sx?$', testTimeout: 60000, };
import React from 'react'; import styles from '../styles.css'; const propTypes = { color: React.PropTypes.string.isRequired, logo: React.PropTypes.string.isRequired, }; class AgencyBanner extends React.Component { render() { return ( <div style={{ backgroundColor: this.props.color }} className={styles...
const webpack = require("webpack"); const ExtractTextPlugin = require("extract-text-webpack-plugin"); module.exports = { //context: "./src", entry: "./src/es6", output: { path: "./public_html/js/", filename: "index.js" }, module: { rules: [ { tes...
// return the first dom element inserted. async function addComponentHTML(component,isSubComponent) { var elementSelected = app.elementSelected?.nodeType != 1 ? app.elementSelected.parentNode : app.elementSelected; if (!component.html || (!elementSelected && !component.fixedHTML) || (isSubComponent && !component.fi...
/************************************************************************ ************************************************************************* @Name : QapTcha - jQuery Plugin @Revison : 4.2 @Date : 06/09/2012 - dd/mm/YYYY @Author: ALPIXEL - (www.myjqueryplugins.com - www.alpixel.fr) @License :...
module.exports={A:{A:{"2":"jB","8":"L H G E A B"},B:{"1":"BB","8":"C D d K I N J"},C:{"1":"0 1 2 3 5 6 7 8 9 F L H G E A B C D d K I N J P Q R S T U V W X Y Z a b c e f g h i j k l m n o M q r s t u v w x y z AB CB DB EB O GB HB","8":"gB IB aB ZB"},D:{"1":"0 1 2 3 5 6 7 8 9 L H G E A B C D d K I N J P Q R S T U V W X Y...
/** * Bootstrap Table Estonian translation * Author: kristjan@logist.it> */ $.fn.bootstrapTable.locales['et-EE'] = $.fn.bootstrapTable.locales['et'] = { formatCopyRows () { return 'Copy Rows' }, formatPrint () { return 'Print' }, formatLoadingMessage () { return 'Päring käib, palun oota' }, ...
/** * Copyright 2018 The AMP HTML Authors. All Rights Reserved. * * 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 require...
import React from 'react'; import createSvg from './utils/createSvg'; export default createSvg(<path d="M9 10v5h2V4h2v11h2V4h2V2H9C6.79 2 5 3.79 5 6s1.79 4 4 4zm12 8l-4-4v3H5v2h12v3l4-4z" />, 'FormatTextdirectionLToRSharp', '0 0 24 24');
/* EASY TABS 1.2 Produced and Copyright by Koller Juergen www.kollermedia.at | www.austria-media.at Need Help? http:/www.kollermedia.at/archive/2007/07/10/easy-tabs-12-now-with-autochange You can use this Script for private and commercial Projects, but just leave the two credit lines, thank you. */ //EASY TABS 1.2 - ...
const fs = require('fs'); const bcrypt = require('bcrypt'); const path = require('path'); const classes = require(path.join(__dirname, '../../../', 'classes.js')); class hashPassword{constructor(index){this.index = index;}} function valueChecker(columns, values){ /*console.log('in valueChecker'); console.lo...
var buildFileList = require('./shared').buildFileList; module.exports = function(grunt) { grunt.config('jshint', { src: { options: { jshintrc: true, ignores: ['libraries, dist'], reporter: require('jshint-stylish') }, src: buildFileList() } }); grunt.loadNpmTas...
import React, { Component } from 'react'; import { StyleSheet } from 'react-native'; import Block from './Block'; import { theme } from '../constants'; export default class Divider extends Component { render() { const { color, style, ...props } = this.props; const dividerStyles = [ styles.divider, ...
/*! * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html * v4.0.43.1 - 2021-06-17 * */ !function(o,c){"use strict";var e=c.doc,t="#plugin",p=o("#issue");e.on("change",t,function(e){e=e.target.value;o(t...
import { getServerSideProps } from "../../pages/wards/book-a-visit-success"; describe("wards/book-a-visit-success", () => { const anonymousReq = { headers: { cookie: "", }, }; const authenticatedReq = { headers: { cookie: "token=123", }, }; let res; const tokenProvider = { ...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distr...
/** All simple Navigation options. */ const navigation = { init () { this.navBarSelection() this.cacheDom() }, cacheDom () { this.$leftSide = document.getElementsByClassName('left-sidebar')[0] this.$rightSide = document.getElementsByClassName('right-sidebar')[0] this.$center = document.getEle...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { makeStyles } from '@material-ui/styles'; import { Card, CardContent, Typography, Grid, } from '@material-ui/core'; const useStyles = makeStyles(theme => ({ root: {}, leftimg: { textAlign: 'center' }, le...
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(gene...
import React from "react"; import Layout from "../components/Layout"; import HeaderImage from "../components/HeaderImage"; import Slider from "../components/Slider"; import Banner from "../components/Banner"; import Reusable from "../components/Reusable"; import Description from "../components/Description"; import Blog...
import Student from '../model/Student'; class HomeController { async index(req, res) { const newStudent = await Student.create({ name: 'Devmaster', lastname: 'Programmer Hero', email: 'devmaster@programmerheo.com.br', age: 21, weight: 99, height: 1.67, }); res.json(new...
"use strict"; var fs = require("fs"); var XMLSplitter = require("xml-splitter"); var coberturaParser = require("./coberturaReportParser"); module.exports = parseIstanbulReport; /** * Parses a given istanbul report file path and returns the XML "coverage" element containing the report results. * * @param {String} ...
export const BENEFICIARY_ACCOUNT = 'busy.org'; export const BENEFICIARY_PERCENT = 1000; export const REFERRAL_PERCENT = 1000; export const MAX_TAG = 12; // to support SCOT tokens. but some Steem API may not work properly for more than 5 tags. export const USER_METADATA_KEY = 'user_metadata'; // key for localStorage //...
class ButtonLink { constructor(buttonElement) { this.buttonElement = buttonElement; this.tabData = this.buttonElement.dataset.tab; this.cards = document.querySelectorAll(`.image[data-tab="${this.tabData}"]`); this.cards = Array.from(this.cards).map(cardElement => new ButtonPicture(cardElement)); t...
(typeof navigator !== "undefined") && (function(root, factory) { if (typeof define === "function" && define.amd) { define(function() { return factory(root); }); } else if (typeof module === "object" && module.exports) { module.exports = factory(root); } else { roo...
/*! betajs-shims - v0.0.16 - 2021-06-06 Copyright (c) Oliver Friedmann,Pablo Iglesias Apache-2.0 Software License. */
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory() : typeof define === 'function' && define.amd ? define(factory) : (factory()); }(this, (function () { 'use strict'; /** * Applies the :focus-visible polyfill at the given scope. * A scope in this case is...
const MachinaModels = require('./_MachinaModels.js'); module.exports = (struct) => { struct.unknown = MachinaModels.getUint32(struct.data, 0x00); /* Known values: - 0xE9: seems to be "new item" but not sure - 0xEA: editing quantity - 0xEB: deleting an item ...
(function ($) { 'use strict'; $.fn.circleChart = function (options) { const defaults = { color: '#3459eb', backgroundColor: '#e6e6e6', background: true, speed: 2000, widthRatio: 1, // 0 - 1 value: options.value ? option...
import Vue from 'vue' import VueRouter from 'vue-router' // import Home from '../views/Home.vue' import Login from '../views/Login.vue' import Home from '../views/Home.vue' Vue.use(VueRouter) const routes = [ { // path: '/', // name: 'Home', // component: Home, path: '/', redirect: '/login', }...
/* Copyright 2014, KISSY v5.0.0 MIT Licensed build time: Jun 13 16:22 */ /** * @ignore * A seed where KISSY grows up from, KISS Yeah ! * @author https://github.com/kissyteam/kissy/contributors */ /** * The KISSY global namespace object. you can use * * * KISSY.each/mix * * to do basic operation. or * ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /// <reference path="../../built/pxtlib.d.ts"/> var core = require("./core"); var electron = require("./electron"); var pkg = require("./package"); var hidbridge = require("./hidbridge"); var Cloud = pxt.Cloud; function browserDownloadAsync(te...
(function($) { /** * Norwegian language package * Translated by @trondulseth */ $.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, { base64: { 'default': 'Vennligst fyll ut dette feltet med en gyldig base64-kodet verdi' }, between: { ...
import { GET_ERRORS, CLEAR_ERRORS } from './types'; //return errors export const returnErrors = (msg, status, id = null) => { return { type: GET_ERRORS, payload: { msg, status, id } }; }; //clear errors export const clearErrors = () => { return { type: CLEAR_ERRORS }; };
#! /usr/bin/env node let program = require('commander'); const path = require('path'); const prompts = require('prompts'); global.__basedir = __dirname; const question = require('../questions'); const constant = require('../constant'); const utility = require("../utils/index"); const codeGenerator = require('../codeGen...
"use strict;" module.exports = function (React, props) { ; return React.createElement("div", null); };
/** * @file mip-showhide-dom 组件 * @author */ define(function (require) { 'use strict'; var $ = require('zepto ');/*使用zepto库控制元素JS不会写*/ var customElement = require('customElement').create(); /** * 第一次进入可视区回调,只会执行一次 */ customElement.prototype.firstInviewCallback = function () { ...
define('ace/snippets/css', ['require', 'exports', 'module' ], function(require, exports, module) { exports.snippetText = "snippet .\n\ ${1} {\n\ ${2}\n\ }\n\ snippet !\n\ !important\n\ snippet bdi:m+\n\ -moz-border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${7:stretch};\n\ snippet bdi:m\n\ -mo...
/** * Copyright 2018 The AMP HTML Authors. All Rights Reserved. * * 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 require...
/*! * OpenUI5 * (c) Copyright 2009-2020 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides object sap.ui.fl.RegistrationDelegator sap.ui.define([ "sap/ui/fl/FlexControllerFactory", "sap/ui/core/Component", "sap/ui/fl/registry/ChangeHandlerRegis...
import {Controller} from '@hotwired/stimulus'; import {average} from 'color.js' import 'jquery' import 'select2/dist/js/select2.full.min'; require('../../public/bundles/tetranzselect2entity/js/select2entity'); import '../js/plugins/modal_ajax'; require('../js/base'); require('../js/plugins/modal_ajax'); require('../j...
/** * Created by petermares on 19/03/2016. */ var MOCK_STARMAP = { summary: { cols: 7, rows: 5 }, map: [ { cellType: 'empty' }, { cellType: 'asteroids' }, { cellType: 'empty' }, { cellT...
CKEDITOR.plugins.setLang("notification", "ru", {closed: "Уведомление закрыто"});
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
const express = require('express'); const router = express.Router(); const db = require('../models/index'); const { Op } = require("sequelize"); /* GET users listing. */ router.get('/', (req, res, next)=> { const min = req.query.min * 1 const max = req.query.max * 1 db.User.findAll({ where: { age: { [O...
import React from 'react'; import PropTypes from 'prop-types'; import { Text, TouchableOpacity, View, Image, Platform } from 'react-native'; const JSONArrow = ({ arrowStyle, expanded, nodeType, onPress, styling }) => { // const styleArrow = {...styling('arrowContainer', arrowStyle)} const t = Platform.OS === 'andr...
const os = require('os'); const utils = require('./lib/utils'); let notifierType = 'toast'; try { const config = require('../config.json') //Seren notifierType = config.data ? config.data.notifierType.toLowerCase():config.notifierType.toLowerCase() //Seren, too many legacy support... } catch(e){} if(notifierType !==...
export const CAFE_LIST_REQUEST = 'CAFE_LIST_REQUEST' export const CAFE_LIST_SUCCESS = 'CAFE_LIST_SUCCESS' export const CAFE_LIST_FAIL = 'CAFE_LIST_FAIL' export const CAFE_DETAILS_REQUEST = 'CAFE_DETAILS_REQUEST' export const CAFE_DETAILS_SUCCESS = 'CAFE_DETAILS_SUCCESS' export const CAFE_DETAILS_FAIL = 'CAFE_DETAILS_F...
// $(document).ready(function() { // $('#lista').DataTable(); // } ); var uri = 'http://localhost/gestor/' $(document).ready(function () { cargar(); }); function cargar() { $.ajax({ type: 'GET', url: 'Usuario/cargar', success: function (result) { $('#cuerpo').html(resu...
/** * Email model. Extends LoopBack base [Model](#model-new-model). * @property {String} to Email addressee. Required. * @property {String} from Email sender address. Required. * @property {String} subject Email subject string. Required. * @property {String} text Text body of email. * @property {String} html ...
import Sketch from '../sketch'; import { join } from 'path'; import fs from '@skpm/fs'; import _ from 'lodash'; import { hexToRgba } from 'hex-and-rgba'; const home = require('os').homedir(); const buildPath = join(home, '.anto'); export default class devColor extends Sketch { constructor() { super(); this....
import { RECEIVE_TWEETS, TOGGLE_TWEET, ADD_TWEET } from '../actions/tweets' export default function tweets(state = {}, action) { switch (action.type) { case RECEIVE_TWEETS: return { ...state, ...action.tweets } case TOGGLE_TWEET: return { ...state, [action.id...
/** * Created by harry on 16/6/18. */ (function () { 'use strict'; angular.module('BlurAdmin.cms.im', [ 'BlurAdmin.cms.im.chatroom', 'BlurAdmin.cms.im.chat', ]) .config(routeConfig); /** @ngInject */ function routeConfig($stateProvider) { $stateProvider ...
// @flow import { isNameValid, isURIValid, normalizeURI, parseURI } from 'util/lbryURI'; import { URL as SITE_URL, URL_LOCAL, URL_DEV, SIMPLE_SITE } from 'config'; import { SEARCH_OPTIONS } from 'constants/search'; import { getSearchQueryString } from 'util/query-params'; export function createNormalizedSearchKey(que...
import React, { useState, useEffect } from 'react'; import { useSelector } from 'react-redux'; import { t } from '../../../utils/i18n'; import { GetHistoricalStats, GetActivityHistory } from '../../../utils/bungie'; import { DestinyActivityModeType } from '../../../utils/destinyEnums'; import { useInterval } from '../...
import PropTypes from 'prop-types'; import React from 'react'; /** * The banner component */ const Banner = ( page ) => { const theme = page._pages[ page._ID ].theme ? page._pages[ page._ID ].theme : 'dark'; const HeadingTag = `h${ page.level }`; return ( <div className={`uikit-body uikit-grid banner banner-...
export { default } from './RepeatableField';
import { Router } from 'express' import bd from './../../config/dbConnection' var router = Router() // Main middleware for /api/pt/ router.route('/') .post(async (req, res) => { try { var { ubicacion_pt_x, ubicacion_pt_y, direccion_pt } = req.body var { id_p } = req.user if (typeof ubicacion_pt_...
/*! elementor - v2.9.7 - 25-03-2020 */ "!="​
const configure = require('@ac-business-media/refresh-theme/config/omeda'); module.exports = configure({ rapidIdentification: { productId: 15438 }, });