text stringlengths 2 1.05M |
|---|
export default class {
constructor() {
this.videoContainer = document.querySelector('.videoContainer');
}
goToProducts() {
console.log('clicked');
window.scrollTo(0, this.videoContainer.getBoundingClientRect().y + this.videoContainer.clientHeight);
}
}
|
var searchData=
[
['savecontroller',['SaveController',['../class_l_i_d_l_1_1_controller_1_1_save_controller.html',1,'LIDL::Controller']]],
['savedtabschangelistener',['SavedTabsChangeListener',['../interfaceorg_1_1schabi_1_1newpipe_1_1settings_1_1tabs_1_1_tabs_manager_1_1_saved_tabs_change_listener.html',1,'org::sc... |
const { DataTypes } = require('sequelize');
const database = require('../service/database');
const Socket = require('./socket-model');
const Queue = database.define('queue', {
id: {
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true,
autoIncrement: true
},
list: {
type: DataTypes.J... |
import React from 'react';
import { StyledIcon } from '../StyledIcon';
export const Halt = props => (
<StyledIcon viewBox='0 0 24 24' a11yTitle='Halt' {...props}>
<path fill='none' stroke='#000' strokeWidth='2' d='M8,23 C10,23 12.9996892,23 15,23 C18,23 19,21 19,18 L19,6 C19,4.00000008 18,3.99999992 17.5,4 C17,... |
import UTree from './UTree.js'
export {
UTree
}
|
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react'
import ReactDOM from 'react-dom'
import DefaultParameters from './DefaultParameters'
describe('default parame... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const BigNum = require("bignum");
const constants_1 = require("../constants");
const validation_1 = require("./validation");
const BASE_10 = 10;
const PHAETON_MAX_DECIMAL_POINTS = 8;
const getDecimalPlaces = (amount) => (amount.split('.')[1] |... |
const configuration = require("./src/infrastructure/configuration");
const logger = require("./src/infrastructure/logger")(configuration);
const database = require("./src/infrastructure/database")(configuration);
const models = require("./src/infrastructure/models")(database);
const schemas = require("./src/infrastruct... |
export const BASEURL =
process.env.NODE_ENV === "development"
? "http://127.0.0.1:8000"
: "https://www.frynzo.com";
// const BASEURL = "http://127.0.0.1:8000";
export const api = {
auth: {
login: `${BASEURL}/dj-rest-auth/login/`,
register: `${BASEURL}/dj-rest-auth/registration/`,
},
orders: {
... |
load("bf4b12814bc95f34eeb130127d8438ab.js");
load("93fae755edd261212639eed30afa2ca4.js");
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-date.prototype.setmonth
es6id: 20.3.4.25
description: Type coercion of provi... |
import React from "react";
import { Button } from "antd";
const buttonStyles = {
red: {
backgroundColor: "#ffa39e"
},
green: {
backgroundColor: "#eaff8f"
}
};
export default ({ theme, icon, label, action }) => {
const butTheme = buttonStyles[theme] ? buttonStyles[theme] : null;
const butIcon = ico... |
export const TRANSLATE_INPUT = 'translate_input';
export default function (string) {
const words = string.split(/\s+/);
const translation = words.reduce((acc, word) => `${acc}${pigLatin(word)} `, '').trim();
return {
type: TRANSLATE_INPUT,
payload: {
original: string,
translation,
}
}... |
/*
* grunt-strip-rails
* https://github.com/Verikon/grunt-strip-rails
*
* Copyright (c) 2014 Verikon
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
// Please see the Grunt documentation for more information regarding task
// creation: http://gruntjs.com/creating-tasks... |
!function(e,t){var n,i={},r=function(e,t){var n,i,r;if("string"==typeof e)return a(e);for(n=[],i=e.length,r=0;i>r;r++)n.push(a(e[r]));return t.apply(null,n)},o=function(e,t,n){2===arguments.length&&(n=t,t=null),r(t||[],function(){s(e,n,arguments)})},s=function(e,t,n){var o,s={exports:t};"function"==typeof t&&(n.length|... |
import entity from './index';
test('provides empty resolver for data without relationship', () =>
expect(entity('posts', { posts: [] })).toEqual({}));
const data = {
posts: [
{ id: 1, title: 'Lorem Ipsum', user_id: 123 },
{ id: 2, title: 'Ut enim ad minim', user_id: 456 },
{ id: 3, tit... |
var current_star_statusses = [];
star_elements = $('.fa-star').parent();
star_elements.find(".fa-star").each(function (i, elem) {
current_star_statusses.push($(elem).hasClass('yellow'));
});
star_elements.find(".fa-star").mouseenter(changeRatingStars);
star_elements.find(".fa-star").mouseleave(resetRatingStars)... |
'use strict';
var constants = require('inWalletcore/constants.js');
angular.module('copayApp.services').factory('txFormatService', function (profileService, configService, lodash) {
var root = {};
var formatAmountStr = function (amount, asset) {
if (!amount) return;
return profileService.formatAmountWith... |
let mode = __dirname.includes('/home/magic/Work/wools/magic/raw')
const {Env} = mode ? require('../magic') : require('./magic')
const $ = new Env('M幸运抽奖');
$.lz = 'LZ_TOKEN_KEY=lztokef1eb8494b0af868bd18bdaf8;LZ_TOKEN_VALUE=Aa5RE8RuY4X3zA==;';
$.activityUrl = 'https://lzkj-isv.isvjcloud.com/lzclient/1643034332288/cjwx/c... |
define(['mout/string/truncate'], function (truncate) {
describe('string/truncate()', function(){
var str = 'lorem ipsum dolor sit amet';
it('should limit number of chars', function(){
var r1 = truncate(str, 10);
expect( r1.length ).toBeLessThan( 11 );
expect( r1... |
const http=require('http');
const io=require('socket.io');
const fs=require('fs');
const sql=require('mysql');
let db=sql.createPool({
host:"localhost",
user:"root",
password:"",
database:"websocket"
});
let server=http.createServer((req,res)=>{
fs.readFile(`www${req.url}`,(err,data)=>{
if(err){
res.writeHead... |
import flush from 'just-flush'
import uniqBy from 'lodash.uniqby'
import matchSorter from 'match-sorter'
import emojiData from './emoji.json'
import basicEmoji from 'node-emoji/lib/emoji.json'
import emojilib from 'emojilib/emojis.json'
function swap (json) {
const ret = {}
for (const key in json) {
if (json.h... |
/*
* 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 in writing, software
* distributed under the... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wordlist = void 0;
exports.wordlist = `ábaco
abdomen
abeja
abierto
abogado
abono
aborto
abrazo
abrir
abuelo
abuso
acabar
academia
acceso
acción
aceite
acelga
acento
aceptar
ácido
aclarar
acné
acoger
acoso
activo
acto
actriz
actuar
... |
import { ServerStyleSheet } from 'styled-components'
import Document, { Html, Head, Main, NextScript } from 'next/document'
export default class MyDocument extends Document {
static async getInitialProps(ctx) {
const sheet = new ServerStyleSheet()
const originalRenderPage = ctx.renderPage
try {
ct... |
import React from 'react';
import { mount } from 'enzyme';
import Tag from '..';
describe('Tag', () => {
beforeAll(() => {
jest.useFakeTimers();
});
afterAll(() => {
jest.useRealTimers();
});
it('should be closable', () => {
const onClose = jest.fn();
const wrapper = mount(
<Tag closa... |
import express from 'express';
import imageCtrl from '../controllers/image.controller';
import validate from '../middlewares/validation.middleware';
import upload from '../middlewares/upload.middleware';
import imageValidation from '../validations/image.validation';
const router = express.Router();
router.get('/searc... |
module.exports = {
transform: {
'^.+\\.(t|j)sx?$': 'ts-jest',
},
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
globals: {
'ts-jest': {
// tsConfigFile: 'tsconfig.json',
diagnos... |
/**
* Kendo UI v2019.3.1023 (http://www.telerik.com/kendo-ui)
* Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = lightFormat;
var _index = _interopRequireDefault(require("../toDate/index.js"));
var _index2 = _interopRequireDefault(require("../_lib/format/lightFormatters/index.js"));
var _index3 = _interopRequireDefault(require("..... |
$(document).ready(function() {
// Include Underscore.string methods to Underscore namespace
_.mixin(_.str.exports());
module("String extensions");
test("Strings: trim", function() {
equals(_.trim(123), "123", "Non string");
equals(_(" foo").trim(), "foo");
equals(_("foo ").trim(), "foo");
equ... |
import {Container, Shape, Stage, Text, Ticker} from "@createjs/easeljs";
import {GraphicConfig} from "./GraphicConfig";
import {StrColors} from "./StrConsts";
/*+
* カードのレンダリング用ラス
*/
export class Card extends Container {
/**
* @param isOpen {boolean} 表側表示か
* @param inDeck {boolean} デッキの中にいるか
*/
... |
// Copyright 2021 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 agreed to in ... |
describe('Check file exists', () => {
const connectionString = 'connectionString'
const container = 'container'
const file = 'file'
let mockExists
const mockBlockBlobClient = jest.fn(() => {
return { exists: mockExists }
})
jest.mock('@azure/storage-blob', () => {
return { BlockBlobClient: mockBl... |
/*
* kony-sdk-ide Version 8.3.10
*/
/**
* Kony namespace
* @namespace kony
*/
if (typeof(kony) === "undefined") {
kony = {};
}
/**
* Constructor for creating the kony client instance.
* @class
* @classdesc kony Class
* @memberof kony
*/
kony.sdk = function() {
var currentObj = this;
... |
// The framer consists of two [Transform Stream][1] subclasses that operate in [object mode][2]:
// the Serializer and the Deserializer
// [1]: https://nodejs.org/api/stream.html#stream_class_stream_transform
// [2]: https://nodejs.org/api/stream.html#stream_new_stream_readable_options
var assert = require('assert');
... |
/**
* Construct a recursive tree from a list of class names.
*
* The class names are split on the '.' character.
*
* So, the list ["a.b.c", "a.b.d", "a.c.c"] would become become:
*
* - a
* -b
* -c
* -d
* -c
* -c
*
* @param classNames
* @param root
*/
export default ... |
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import InputBuilder from '../base/InputBuilder';
const iconId = require('../../../assets/images/icons/icon-document.svg');
const iconIdLight = require('../../../assets/images/icons/icon-document-light.svg');
export default class InputCP... |
var click = "click";
var keydown = "keydown";
var keypress = "keypress";
var keyup = "keyup";
var change = "change";
var MODELFLAG_PICKED = 1 << 1;
var MODELFLAG_HIDDEN = 1 << 2;
var MODELFLAG_LOCKED = 1 << 3;
var MODELFLAG_FORCE_UPDATE = 1 << 4;
function ArrayPushIfNotHas(arr, element) {
if (arr && element && ar... |
/*!
* ${copyright}
*/
/*global history */
sap.ui.define([
"sap/ui/documentation/library",
"sap/ui/core/Fragment",
"sap/ui/core/mvc/Controller",
"sap/ui/core/routing/History",
"sap/ui/model/resource/ResourceModel",
"sap/ui/Device",
"sap/m/library",
"sap/ui/documentation/sdk/controller/util/APIInfo",
... |
// Relative paths work!
define(['./Shirt'], function(Shirt) {
return {
shirt: Shirt
};
});
|
import React from "react";
import {
View,
Text,
StyleSheet,
TouchableOpacity,
TextInput,
Platform,
ActivityIndicator,
AsyncStorage,
FlatList,
PlatformColor,
Appearance,
useColorScheme,
Modal,
} from "react-native";
import emoji_datasource from "emoji-datasource";
const colorScheme = Appearanc... |
'use strict';
const emitter = require('./events/emitter');
const isNil = require('ramda/src/isNil');
var gloo = function (hostname, port, ssl) {
if (
isNil(hostname) ||
typeof hostname !== 'string' ||
hostname === ''
) {
throw new Error("gloo constructor requires hostname to be... |
var searchData=
[
['fs_5fapplication_2ecpp_802',['fs_application.cpp',['../fs__application_8cpp.html',1,'']]],
['fs_5fapplication_2ehpp_803',['fs_application.hpp',['../fs__application_8hpp.html',1,'']]]
];
|
import { AIRPORT_DATABASE } from '@airport/air-control';
import { container, DI } from '@airport/di';
import { getFullApplicationName, STORE_DRIVER, } from '@airport/ground-control';
import { Actor, } from '@airport/holding-pattern';
import { APPLICATION_INITIALIZER } from '@airport/landing';
import { APPLICATION_DAO }... |
import Element from '@flyskywhy/react-native-browser-polyfill/src/DOM/Element';
import GContext2D from '../context/2d/RenderingContext';
import GContextWebGL from '../context/webgl/RenderingContext';
import {PixelRatio} from 'react-native';
function sleepMs(ms) {
for (var start = new Date(); new Date() - start <= ms... |
import { DisplayNews } from "./DisplayNews";
export default DisplayNews; |
/* Closure é quando uma função é capaz de "lembrar" e acessar seu escopo léxico mesmo quando ela está sendo executada fora de seu escopo léxico. */
function imprimeNome() {
let nome = 'Ayrton';
return function() {
return nome;
}
}
var func = imprimeNome();
console.log(func())
... |
/**!
*
* Copyright 2018 Netflix, 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 ... |
/* v----- Do not change anything between here
* (the DRIVERNAME placeholder will be automatically replaced during build) */
define('ui/components/machine/driver-%%DRIVERNAME%%/component', ['exports', 'ember', 'ui/mixins/driver'], function (exports, _ember, _uiMixinsDriver) {
exports['default'] = _ember['defau... |
/* eslint-disable no-unused-expressions */
var expect = require('chai').expect;
var m = require('mongoose');
var groupSchema = require('../../src/models/group');
describe('group.js', function () {
var groupId = m.Types.ObjectId();
var memberId1 = m.Types.ObjectId();
var memberId2 = m.Types.ObjectId();
var memb... |
export default {
install: function (Vue, myGate, name = "$gate") {
Object.defineProperty(Vue.prototype, name, {value: myGate});
}
};
|
import colors from 'colors';
/* eslint-disable no-console */
console.log('Starting app in dev mode...'.green);
|
const getScripts = async () => {
const package$ = await import("./package.json")
return package$.scripts
}
const isOdd = n => !!(n % 2)
const mapArgsToMap = args => {
const res = args.map((n, i, arr) => {
if (isOdd(i)) {
console.log(arr[i - 1].match(/^-|^--/))
return [
arr[i - 1]
... |
function Sandbox(url) {
'use strict';
function send(data) {
source.postMessage(data, frameHost);
}
var iframe = document.createElement('iframe');
frameHost = location.origin,
iframe.src = jsbin.root + '/sandbox.html?' + url,
body = document.body,
source = null,
guid = +new ... |
export class UserDataController
{
static get()
{
return axios.post("/user/data/getdata")
}
} |
import { dist, resolve, src } from './conf';
import baseConfig from './webpack.config.base';
import { theme } from './theme';
import webpack from 'webpack';
import webpackMerge from 'webpack-merge';
const PORT = 4000; // 服务器端口
const HOST = '0.0.0.0';
export default webpackMerge(baseConfig, {
entry: {
ind... |
class Vec3 {
constructor(x, y, z) {
this.x = x;
this.y = y;
this.z = z;
}
cross(v) {
if (!(v instanceof Vec3)) {
throw new Error('Input argument must be of type Vec3');
}
const t = this;
return new Vec3(
(t.y * v.z) - (t.z * v.y),
(t.z * v.x) - (t.x * v.z),
(t.... |
/**
* Copyright 2020 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 MongoClient from 'mongodb';
const url = "mongodb+srv://SydneyDevaney:YHfpLjWRea4J3qm5@cluster0.yuzwq.mongodb.net"
class Database {
constructor(){
this.connection = null;
this.database = null;
this.collection = null;
}
async connect(database, collection){
this.conne... |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative ... |
'use strict';
/**
* Module dependencies.
*/
var should = require('should'),
mongoose = require('mongoose'),
User = mongoose.model('User'),
Thread = mongoose.model('Thread'),
Message = mongoose.model('Message'),
ReferenceThread = mongoose.model('ReferenceThread');
/**
* Globals
*/
var user1,
... |
/* istanbul instrument in package npmtest_mocha_phantomjs */
/*jslint
bitwise: true,
browser: true,
maxerr: 8,
maxlen: 96,
node: true,
nomen: true,
regexp: true,
stupid: true
*/
(function () {
'use strict';
var local;
// run shared js-env code - pre-init
(function () {... |
import React, { Component } from 'react'
import { Typography } from '@material-ui/core'
import { InitConfig } from 'components/Auth/context/ConfigContext'
import 'echarts/theme/macarons'
class CleanText extends Component {
constructor(props) {
super(props)
this.state = {
widgetTitle: '... |
/**
* @typedef {Object} TransferChangeType
* @property {string} name
* @property {string} description
*/
/**
* @type {Array.<TransferChangeType>}
*/
const transferChangeTypes = [
{
name: 'TOTAL_POINTS',
description: 'How many points has this player scored so far this season',
},
{
name: 'NOW_CO... |
import React from 'react';
import { BrowserRouter, Route, Switch, Redirect } from 'react-router-dom';
import Header from './Header';
import Home from './Home';
import NotFound from './NotFound';
import Favorites from './Favorites';
import Recipe from './Recipe';
class App extends React.Component {
constructor(props)... |
import React from "react";
import { Route, Switch, useRouteMatch } from "react-router-dom";
import DetailUser from "./pages/detailUser";
import MainUser from "./pages/mainUser";
function UserPage() {
const match = useRouteMatch();
return (
<Switch>
<Route path={`${match.url}/`} exact component={MainUser}... |
import Search from '..';
import { mount } from '../../../test/utils';
test('input event', () => {
const onInput = jest.fn();
const wrapper = mount(Search, {
context: {
on: {
input: onInput
}
}
});
const input = wrapper.find('input');
input.element.value = '1';
input.trigger('in... |
import React, { Component } from 'react'
import { AppContainer } from 'src/components'
import { Flex, Text, Box } from 'serverless-design-system'
import videoPosterImage from 'src/assets/images/home/video-loading-poster.png'
import styled from 'styled-components'
import featuresData from './FeaturesData'
import ReactPl... |
import Ember from 'ember';
export default Ember.Route.extend({
model: function() {
var car1 = { name: 'Carrera', color: 'red' };
var car2 = { name: 'Veyron', color: 'red' };
var car3 = { name: 'Corvette', color: 'blue' };
var car4 = { name: 'Viper', color: 'blue' };
var car5 = { name: 'Cobra', co... |
export const getNameStore = store => store.name;
export const getName = store =>
getNameStore(store) ? getNameStore(store).name : 'No Name';
|
//! moment.js locale configuration
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(that, ... |
import { createMuiTheme } from "@material-ui/core/styles";
import BrandColors from "../Brand/BrandColors";
// Brand Colors
const civicPrimary = BrandColors.primary.hex;
const civicPlumLight = BrandColors.plumLight.hex;
const civicMedium = BrandColors.medium.hex;
const civicSubdued = BrandColors.subdued.hex;
const civi... |
(function ($) {
/**
* Patch TOC list.
*
* Will mutate the underlying span to have a correct ul for nav.
*
* @param $span: Span containing nested UL's to mutate.
* @param minLevel: Starting level for nested lists. (1: global, 2: local).
*/
var patchToc = function ($ul, minLevel) {
var findA,... |
import { Fragment } from "react";
import { Form, Button } from "react-bootstrap";
import Loader from "../../components/Loader";
import Message from "../../components/Message";
import { useDispatch, useSelector } from "react-redux";
import { loginProfile } from "../../actions/authAction";
const ProfileScreen = (props) ... |
import BaseRenderer from 'diagram-js/lib/draw/BaseRenderer';
import PathMap from './PathMap.js'
import {
append as svgAppend,
attr as svgAttr,
classes as svgClasses,
create as svgCreate
} from 'tiny-svg';
import {
getRoundRectPath
} from 'bpmn-js/lib/draw/BpmnRenderUtil';
import {
is,
getBusinessObjec... |
ShareDrop.App.FileField = Ember.TextField.extend({
type: 'file',
classNames: ['invisible'],
click: function (event) {
event.stopPropagation();
},
change: function (event) {
var input = event.target,
files = input.files,
file = files[0];
this.sendAct... |
/*! jQuery UI - v1.10.3 - 2013-05-03
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.j... |
/**
* Copyright 2019 Parity Technologies
*
* 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 agree... |
'use strict';
System.register([], function (_export, _context) {
"use strict";
var _createClass, HttpService;
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a funct... |
import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import user from './modules/user'
Vue.use(Vuex)
export default new Vuex.Store({
state: {},
mutations: {},
actions: {},
modules: {
app,
user
}
})
|
/**
* @license Apache-2.0
*
* Copyright (c) 2021 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... |
// JavaScript 中对变量类型的判断
var num = 123;
var str = 'abcdef';
var bool = true;
var arr = [1, 2, 3, 4];
var json = {
name: 'wenzi',
age: 25
};
var func = function() {
console.log('this is function');
};
var und = undefined;
var nul = null;
var date = new Date();
var reg = /^[a-zA-Z]{5,20}$/;
var error = new Error();... |
import React from 'react'
import { Text, View, Linking, Image, TouchableOpacity } from 'react-native'
import { useNavigation, useRoute } from '@react-navigation/native'
import { Feather} from '@expo/vector-icons'
import * as MailComposer from 'expo-mail-composer'
import logoimg from '../../assets/logo.png'
import sty... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... |
import '../Css/FormReportListItem.css';
import {useNavigate} from 'react-router-dom';
const FormReportListItem = (props) => {
const navigate = useNavigate();
const reportHandler = () => {
navigate(props.formCode);
}
return(
<div className="ItemContainer">
<div className=... |
const webpack = require('webpack')
module.exports = {
webpack: function (cfg) {
cfg.plugins.push(new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify(process.env.NODE_ENV)
}
}))
return cfg
}
}
|
export const timer16F = "M10 1H6V0h4zm3.998 4.405a7.018 7.018 0 1 1-2.403-2.403l1.884-1.884 2.403 2.403zM3 9H2v1h1zm5 5H7v1h1zm3-5H8V5H7v5h4z";
|
/*
*
* LoginPage reducer
*
*/
import { fromJS } from 'immutable';
import { SET_ERROR } from './constants';
const initialState = fromJS({
error: '',
loading: false,
});
function loginPageReducer(state = initialState, action) {
switch (action.type) {
case SET_ERROR:
return state.set('error', action... |
!function(e){const i=e.it=e.it||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0 di %1","Align center":"Allinea al centro","Align left":"Allinea a sinistra","Align right":"Allinea a destra",Aquamarine:"Aquamarina",Big:"Grandi",Black:"Nero","Block quote":"Blocco citazione",Blue:"Blu",Bold:"Grassetto","Brea... |
/*! highlight.js v9.8.0 | BSD3 License | git.io/hljslicense */
!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace(... |
/**
* Get the object replicationInfo to replicate data and metadata, or only
* metadata if the operation only changes metadata or the object is 0 bytes
* @param {string} objKey - The key of the object
* @param {object} bucketMD - The bucket metadata
* @param {boolean} isMD - Whether the operation is only updating ... |
'use strict'
const { Model } = require('../../class')
const { query } = require('../mysql')
class AdminLogModel extends Model {
constructor() {
super('admin_log')
}
create({ userId = 0, url = '', params = '' }) {
const post = [userId, url, params]
const sql = `
insert into \`${this.tableName... |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.MembersThemeBi... |
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){"use strict";function t(e){for(var t,n=e.split(/\s+/),a=[],o=0;t=n[o];o++)t=t.charAt(0).toUpperCase(),a.push(t);return a}function n(t){return t.id&&e('label[for="'+t.id+'"]').val()||... |
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "e0e33bf88c87951140c68b365d393ae0",
"url": "/index.html"
},
{
"revision": "aa9b81dec490d3c728c3",
"url": "/static/css/main.084116ef.chunk.css"
},
{
"revision": "d32517dbc56c85792bd6",
"url": "/static/js/2.... |
const fs = require('fs');
const filename = require('minimist')(process.argv.slice(2)).file;
const readline = require('readline');
const reader = readline.createInterface(process.stdin, process.stdout);
const app = {
//Создаем массив с картами
getCardsArr : ()=>{
return new Map([
[1, 1], [2,... |
hackApp.service( 'AuthService', [ '$q', 'ApiService', '$injector', function ( $q, ApiService, $injector ) {
var me = this;
me.token = undefined;
var isLogged = function ( ) {
return angular.isDefined( me.token );
};
var getToken = function ( ) {
return me.token;
};
var s... |
//v.3.6 build 130417
/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
You allowed to use this component or parts of it under GPL terms
To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com
*/
/**
* @desc: constructor, creates a single window under dhtmlxWindows syste... |
var ColorPicker = function($parent, callback, colorC){
var Fce = function(tag){return document.createElement(tag);}
var FValidateColor = function(color){if(!color){return false;} if(color.match(new RegExp("^#(([0-9a-f]{3})|([0-9a-f]{6}))$","i"))) return true; else return false};
var color = FValidateColor(colorC) ? ... |
// Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: B.2.1.2
description: >
unescape.length is 1.
info: >
unescape (string)
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.